Proactive.DeleteConversationAsync(String, CancellationToken) Method

Definition

Deletes the conversation reference associated with the specified conversation ID from persistent storage asynchronously.

public System.Threading.Tasks.Task DeleteConversationAsync(string conversationId, System.Threading.CancellationToken cancellationToken = default);
member this.DeleteConversationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteConversationAsync (conversationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

conversationId
String

The unique identifier of the conversation whose reference is to be deleted. Cannot be null or empty.

cancellationToken
CancellationToken

A cancellation token that can be used to cancel the delete operation.

Returns

A task that represents the asynchronous delete operation.

Remarks

If the conversation reference does not exist for the specified conversation ID, no action is taken. This method is thread-safe and can be called concurrently.

Applies to