TurnStateContainer.DeleteAsync(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 conversation and user state from the backing store and clears in-memory scopes. Scopes remain available for reads/writes afterward, but as empty state.
public System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default);
member this.DeleteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- cancellationToken
- CancellationToken
A cancellation token.