Proactive.DeleteConversationAsync(String, CancellationToken) 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.
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.