Share via


IConversationReferenceStore.Remove Method

Definition

Remove a conversation reference from the store.

public System.Threading.Tasks.Task<bool> Remove (string key, Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken = default);
abstract member Remove : string * Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function Remove (key As String, reference As ConversationReference, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

key
String

The target key.

reference
ConversationReference

The conversation reference to be removed.

cancellationToken
CancellationToken

The cancellation token.

Returns

true if exist and removed, false if not changed.

Applies to