TurnContextExtensions.GetTurnTokenAsync 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 static System.Threading.Tasks.Task<string> GetTurnTokenAsync(this Microsoft.Agents.Builder.ITurnContext turnContext, string handlerName = default, System.Threading.CancellationToken cancellationToken = default);
static member GetTurnTokenAsync : Microsoft.Agents.Builder.ITurnContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
<Extension()>
Public Function GetTurnTokenAsync (turnContext As ITurnContext, Optional handlerName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- turnContext
- ITurnContext
- handlerName
- String
- cancellationToken
- CancellationToken