Share via


CustomVisionTrainingClientExtensions.GetTagAsync Method

Definition

Get information about a specific tag.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project this tag belongs to.

tagId
Guid

The tag id.

iterationId
Nullable<Guid>

The iteration to retrieve this tag from. Optional, defaults to current training set.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to