AppendBlobClient.SealAsync Method

Definition

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