Freigeben über


ICustomVisionTrainingClient.GetImagesByIdsWithHttpMessagesAsync Methode

Definition

Abrufen von Bildern nach ID für eine bestimmte Projektiteration.

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

Parameter

projectId
Guid

Die Projekt-ID.

imageIds
IList<Guid>

Die Liste der abzurufenden Bild-IDs. Beschränkt auf 256.

iterationId
Nullable<Guid>

Die Iterations-ID. Der Standardwert ist arbeitsbereich.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Diese API gibt eine Gruppe mit Bildern für die angegebenen Tags und optional eine Iteration zurück. Wenn keine Iteration angegeben wird, wird der aktuelle Arbeitsbereich verwendet.

Gilt für: