RegistryArtifact.DeleteAsync(CancellationToken) Method

Definition

Delete registry artifact.

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

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response>

Exceptions

Thrown when a failure is returned by the Container Registry service.

Applies to