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