Delen via


AppendBlobClient.Seal(AppendBlobRequestConditions, CancellationToken) Method

Definition

Seals the append blob, making it read only. Any subsequent appends will fail.

public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobInfo> Seal (Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Seal : Azure.Storage.Blobs.Models.AppendBlobRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobInfo>
override this.Seal : Azure.Storage.Blobs.Models.AppendBlobRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobInfo>
Public Overridable Function Seal (Optional conditions As AppendBlobRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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