Freigeben über


ICustomVisionTrainingClient.GetTagWithHttpMessagesAsync Methode

Definition

Ruft Informationen zu einem bestimmten Tag ab.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>> GetTagWithHttpMessagesAsync(Guid projectId, Guid tagId, Guid? iterationId = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTagWithHttpMessagesAsync : Guid * Guid * Nullable<Guid> * 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 GetTagWithHttpMessagesAsync (projectId As Guid, tagId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Tag))

Parameter

projectId
Guid

Das Projekt, zu dem dieses Tag gehört.

tagId
Guid

Die Tag-ID.

iterationId
Nullable<Guid>

Die Iteration, aus der dieses Tag abgerufen werden soll. Optional wird standardmäßig der aktuelle Trainingssatz verwendet.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: