TempState.SaveChangesAsync(ITurnContext, Boolean, 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.
public System.Threading.Tasks.Task SaveChangesAsync(Microsoft.Agents.Builder.ITurnContext turnContext, bool force = false, System.Threading.CancellationToken cancellationToken = default);
abstract member SaveChangesAsync : Microsoft.Agents.Builder.ITurnContext * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SaveChangesAsync : Microsoft.Agents.Builder.ITurnContext * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SaveChangesAsync (turnContext As ITurnContext, Optional force As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- turnContext
- ITurnContext
- force
- Boolean
- cancellationToken
- CancellationToken