ConversationAuthoringTrainedModel.DeleteTrainedModelAsync 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.
Overloads
DeleteTrainedModelAsync(RequestContext) |
[Protocol Method] Deletes an existing trained model.
|
DeleteTrainedModelAsync(CancellationToken) |
Deletes a trained model. |
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.
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)
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.