Share via


TextAuthoringTrainedModel.GetTrainedModelAsync Method

Definition

Overloads

GetTrainedModelAsync(RequestContext)

[Protocol Method] Gets the details of a trained model.

GetTrainedModelAsync(CancellationToken)

Gets the details of a trained model.

GetTrainedModelAsync(RequestContext)

Source:
TextAuthoringTrainedModel.cs

[Protocol Method] Gets the details of a trained model.

public virtual System.Threading.Tasks.Task<Azure.Response> GetTrainedModelAsync(Azure.RequestContext context);
abstract member GetTrainedModelAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetTrainedModelAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetTrainedModelAsync (context As RequestContext) As Task(Of Response)

Parameters

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to

GetTrainedModelAsync(CancellationToken)

Source:
TextAuthoringTrainedModel.cs

Gets the details of a trained model.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectTrainedModel>> GetTrainedModelAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrainedModelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectTrainedModel>>
override this.GetTrainedModelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectTrainedModel>>
Public Overridable Function GetTrainedModelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TextAuthoringProjectTrainedModel))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to