Compartir a través de


CustomVisionTrainingClientExtensions.UpdateProjectAsync Método

Definición

Actualiza un proyecto 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

Grupo de operaciones para este método de extensión.

projectId
Guid

Identificador del proyecto que se va a actualizar.

updatedProject
Project

Modelo de proyecto actualizado.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a