Sdílet prostřednictvím


BlobBaseClient.UndeleteAsync(CancellationToken) Method

Definition

The UndeleteAsync(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 System.Threading.Tasks.Task<Azure.Response> UndeleteAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member UndeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.UndeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UndeleteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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