Share via


EvaluationTaxonomies.DeleteAsync Method

Definition

Overloads

Name Description
DeleteAsync(String, RequestOptions)

[Protocol Method] Delete an evaluation taxonomy by name.

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

Delete an evaluation taxonomy by name.

DeleteAsync(String, RequestOptions)

Source:
EvaluationTaxonomies.cs

[Protocol Method] Delete an evaluation taxonomy by name.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<System.ClientModel.ClientResult> DeleteAsync(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member DeleteAsync : string * System.ClientModel.Primitives.RequestOptions -> System.Threading.Tasks.Task<System.ClientModel.ClientResult>
override this.DeleteAsync : string * System.ClientModel.Primitives.RequestOptions -> System.Threading.Tasks.Task<System.ClientModel.ClientResult>
Public Overridable Function DeleteAsync (name As String, options As RequestOptions) As Task(Of ClientResult)

Parameters

name
String

The name of the resource.

options
RequestOptions

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

Returns

The response returned from the service.

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

DeleteAsync(String, CancellationToken)

Source:
EvaluationTaxonomies.cs

Delete an evaluation taxonomy by name.

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

Parameters

name
String

The name of the resource.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to