DiscoveryConversationsClient.DeleteAsync Method

Definition

Overloads

Name Description
DeleteAsync(String, RequestContext)

[Protocol Method] Deletes a Conversation.

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

Deletes a Conversation.

DeleteAsync(String, RequestContext)

Source:
DiscoveryConversationsClient.cs

[Protocol Method] Deletes a Conversation.

  • 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> DeleteAsync(string conversationName, Azure.RequestContext context);
abstract member DeleteAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (conversationName As String, context As RequestContext) As Task(Of Response)

Parameters

conversationName
String

The conversation name.

context
RequestContext

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

conversationName is null.

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

Service returned a non-success status code.

Applies to

DeleteAsync(String, CancellationToken)

Source:
DiscoveryConversationsClient.cs

Deletes a Conversation.

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

Parameters

conversationName
String

The conversation name.

cancellationToken
CancellationToken

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

Returns

Exceptions

conversationName is null.

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

Service returned a non-success status code.

Applies to