Partager via


CustomVisionTrainingClientExtensions.GetProjectAsync Méthode

Définition

Obtient un projet spécifique.

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)

Paramètres

operations
ICustomVisionTrainingClient

Groupe d’opérations pour cette méthode d’extension.

projectId
Guid

ID du projet à obtenir.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à