Partilhar via


ICustomVisionTrainingClient.GetImagesByIdsWithHttpMessagesAsync Método

Definição

Obtenha imagens por ID para uma determinada iteração de projeto.

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)))

Parâmetros

projectId
Guid

A ID do projeto.

imageIds
IList<Guid>

A lista de IDs de imagem a serem recuperadas. Limitado a 256.

iterationId
Nullable<Guid>

A ID da iteração. O padrão é workspace.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Essa API retornará um conjunto de imagens para as marcas especificadas e, opcionalmente, a iteração. Se nenhuma iteração for especificada, o workspace atual será usado.

Aplica-se a