IAgentState.ClearState 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.
Clears the state.
public void ClearState();
abstract member ClearState : unit -> unit
Public Sub ClearState ()
Remarks
This method clears the state cache. Call SaveChangesAsync(ITurnContext, Boolean, CancellationToken) to persist this change in the storage layer.