Dela via


CustomVisionTrainingClientExtensions.GetDomainsAsync Method

Definition

Get a list of the available domains.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to