Compartilhar via


RegistryArtifact.DeleteTagAsync(String, CancellationToken) Método

Definição

Exclua a marca. Isso remove a marca do artefato e seu manifesto.

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

Parâmetros

tag
String

O nome da marca a ser excluída.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

Lançado quando tag é nulo.

Gerada quando tag está vazia.

Gerado quando uma falha é retornada pelo serviço registro de contêiner.

Aplica-se a