IConversationReferenceStore.Remove 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.
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.