AppendBlobClient.SealAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Seals the append blob, making it read only. Any subsequent appends will fail.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobInfo>> SealAsync (Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member SealAsync : Azure.Storage.Blobs.Models.AppendBlobRequestConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobInfo>>
override this.SealAsync : Azure.Storage.Blobs.Models.AppendBlobRequestConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Storage.Blobs.Models.BlobInfo>>
Public Overridable Function SealAsync (Optional conditions As AppendBlobRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BlobInfo))
Parameters
- conditions
- AppendBlobRequestConditions
Optional AppendBlobRequestConditions to add conditions on the sealing of this blob.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
A Response<T> describing the state of the sealed append blob.
Remarks
A RequestFailedException will be thrown if a failure occurs.
Applies to
Azure SDK for .NET