BlobBaseClient.UndeleteAsync(CancellationToken) 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.
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
Azure SDK for .NET