UserAuthorization.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 System.Threading.Tasks.Task<string> ExchangeTurnTokenAsync(Microsoft.Agents.Builder.ITurnContext turnContext, string handlerName = default, string exchangeConnection = default, System.Collections.Generic.IList<string> exchangeScopes = default, System.Threading.CancellationToken cancellationToken = default);
member this.ExchangeTurnTokenAsync : Microsoft.Agents.Builder.ITurnContext * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
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