Udostępnij za pośrednictwem


CustomVisionTrainingClientExtensions.GetProjectAsync Method

Definition

Get a specific project.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The id of the project to get.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to