Udostępnij za pośrednictwem


CustomVisionTrainingClientExtensions.UpdateProjectAsync Method

Definition

Update a specific project.

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)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The id of the project to update.

updatedProject
Project

The updated project model.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to