Partager via


ICustomVisionTrainingClient.UpdateTagWithHttpMessagesAsync Méthode

Définition

Met à jour une étiquette.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>> UpdateTagWithHttpMessagesAsync (Guid projectId, Guid tagId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag updatedTag, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateTagWithHttpMessagesAsync : Guid * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>>
Public Function UpdateTagWithHttpMessagesAsync (projectId As Guid, tagId As Guid, updatedTag As Tag, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Tag))

Paramètres

projectId
Guid

ID de projet.

tagId
Guid

ID de la balise cible.

updatedTag
Tag

Modèle d’étiquette mis à jour.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à