Partilhar via


CustomVisionTrainingClientExtensions.GetDomainsAsync Método

Definição

Obtenha uma lista dos domínios disponíveis.

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))

Parâmetros

operations
ICustomVisionTrainingClient

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a