Compartilhar via


CustomVisionTrainingClientExtensions.UpdateTagAsync Método

Definição

Atualizar marca.

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag> UpdateTagAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid tagId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag updatedTag, System.Threading.CancellationToken cancellationToken = default);
static member UpdateTagAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>
<Extension()>
Public Function UpdateTagAsync (operations As ICustomVisionTrainingClient, projectId As Guid, tagId As Guid, updatedTag As Tag, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Tag)

Parâmetros

operations
ICustomVisionTrainingClient

O grupo de operações para esse método de extensão.

projectId
Guid

A ID do projeto.

tagId
Guid

A ID da marca de destino.

updatedTag
Tag

O modelo de marca atualizado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a