Share via


ConversationAuthoringTrainedModel.DeleteTrainedModelAsync Method

Definition

Overloads

DeleteTrainedModelAsync(RequestContext)

[Protocol Method] Deletes an existing trained model.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
DeleteTrainedModelAsync(CancellationToken)

Deletes a trained model.

DeleteTrainedModelAsync(RequestContext)

Source:
ConversationAuthoringTrainedModel.cs

[Protocol Method] Deletes an existing trained model.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteTrainedModelAsync(Azure.RequestContext context);
abstract member DeleteTrainedModelAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteTrainedModelAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteTrainedModelAsync (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

DeleteTrainedModelAsync(CancellationToken)

Source:
ConversationAuthoringTrainedModel.cs

Deletes a trained model.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to