Language

TurnStateLoader.LoadAsync(String, String, CancellationToken) Method

Definition

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

Returns

Applies to