CustomVisionTrainingClientExtensions.GetDomainAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.