Compartir a través de


CustomVisionTrainingClientExtensions.GetDomainsAsync Método

Definición

Obtenga una lista de los dominios disponibles.

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

El grupo de operaciones de este método de extensión.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a