共用方式為


BlobBaseClient.Undelete(CancellationToken) Method

Definition

The Undelete(CancellationToken) operation restores the contents and metadata of a soft deleted blob and any associated soft deleted snapshots.

For more information, see Undelete Blob.

public virtual Azure.Response Undelete (System.Threading.CancellationToken cancellationToken = default);
abstract member Undelete : System.Threading.CancellationToken -> Azure.Response
override this.Undelete : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Undelete (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

A Response on successfully deleting.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to