CustomVisionTrainingClientExtensions.GetDomainAsync(ICustomVisionTrainingClient, Guid, CancellationToken) Method

Definition

Get information about a specific domain.

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)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

domainId
Guid

The id of the domain to get information about.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Domain>

Applies to