FormTrainingClient.GetAccountProperties(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

Response<AccountProperties>

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

Applies to