CustomVisionTrainingClientExtensions.GetImagesByIdsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get images by id for a given project iteration.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image>> GetImagesByIdsAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, System.Collections.Generic.IList<Guid> imageIds = default, Guid? iterationId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetImagesByIdsAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * System.Collections.Generic.IList<Guid> * Nullable<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image>>
<Extension()>
Public Function GetImagesByIdsAsync (operations As ICustomVisionTrainingClient, projectId As Guid, Optional imageIds As IList(Of Guid) = Nothing, Optional iterationId As Nullable(Of Guid) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of Image))
Parameters
- operations
- ICustomVisionTrainingClient
The operations group for this extension method.
- projectId
- Guid
The project id.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used.