FormTrainingClient.GetAccountPropertiesAsync(CancellationToken) Method

Definition

Gets the number of models trained on this Cognitive Services Account and the account limits.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.AccountProperties>> GetAccountPropertiesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAccountPropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.AccountProperties>>
override this.GetAccountPropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.Training.AccountProperties>>
Public Overridable Function GetAccountPropertiesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AccountProperties))

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> representing the result of the operation. It can be cast to an AccountProperties containing the account properties.

Applies to