ResumptionContext.LoadDataAsync(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 the ResumptionData from the resumption context's data bag.
public System.Threading.Tasks.Task<Microsoft.Bot.Builder.ConnectorEx.ResumptionData> LoadDataAsync (System.Threading.CancellationToken token);
member this.LoadDataAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.ConnectorEx.ResumptionData>
Public Function LoadDataAsync (token As CancellationToken) As Task(Of ResumptionData)
Parameters
- token
- CancellationToken
The cancellation token.