Partager via


CustomVisionTrainingClientExtensions.GetDomainsAsync Méthode

Définition

Obtenez la liste des domaines 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))

Paramètres

operations
ICustomVisionTrainingClient

Groupe d’opérations pour cette méthode d’extension.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à