Share via


CustomVisionTrainingClientExtensions.UpdateTagAsync Method

Definition

Update a tag.

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)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

tagId
Guid

The id of the target tag.

updatedTag
Tag

The updated tag model.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to