TurnStateLoader.LoadAsync(String, String, 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.
Loads conversation and user state from the cache.
public System.Threading.Tasks.Task<Microsoft.Teams.Apps.State.TurnStateContainer> LoadAsync(string conversationId, string? userId, System.Threading.CancellationToken cancellationToken);
member this.LoadAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Teams.Apps.State.TurnStateContainer>
Public Function LoadAsync (conversationId As String, userId As String, cancellationToken As CancellationToken) As Task(Of TurnStateContainer)
Parameters
- conversationId
- String
- userId
- String
- cancellationToken
- CancellationToken