Share via


DocumentModelAdministrationClient.DeleteDocumentClassifierAsync Method

Definition

Deletes the document classifier with the specified classifier ID.

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

Parameters

classifierId
String

The ID of the document classifier to delete.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response representing the result of the operation.

Remarks

This method is only available for V2023_07_31 and newer.

Applies to