CustomVisionTrainingClientExtensions.DeleteImageRegionsAsync Method

Definition

Delete a set of image regions.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

regionIds
IList<Guid>

Regions to delete. Limited to 64.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to