CustomVisionTrainingClientExtensions.GetDomainsAsync 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 a list of the available domains.
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))
Parameters
- operations
- ICustomVisionTrainingClient
The operations group for this extension method.
- cancellationToken
- CancellationToken
The cancellation token.