Partilhar via


CustomVisionTrainingClientExtensions.UpdateProjectAsync Método

Definição

Atualizar um projeto específico.

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

Parâmetros

operations
ICustomVisionTrainingClient

O grupo de operações para esse método de extensão.

projectId
Guid

A ID do projeto a ser atualizado.

updatedProject
Project

O modelo de projeto atualizado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a