Partilhar via


CustomVisionTrainingClientExtensions.GetDomainAsync Método

Definição

Obter informações sobre um domínio específico.

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

Parâmetros

operations
ICustomVisionTrainingClient

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

domainId
Guid

A ID do domínio sobre o qual obter informações.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a