Extensions.GetUserTokenAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetUserTokenAsync(IDialogContext, String) | |
GetUserTokenAsync(IDialogContext, String, String) |
GetUserTokenAsync(IDialogContext, String)
- Source:
- EndConversation.cs
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (this Microsoft.Bot.Builder.Dialogs.IDialogContext context, string connectionName);
static member GetUserTokenAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
<Extension()>
Public Function GetUserTokenAsync (context As IDialogContext, connectionName As String) As Task(Of TokenResponse)
参数
- context
- IDialogContext
- connectionName
- String
返回
适用于
GetUserTokenAsync(IDialogContext, String, String)
- Source:
- EndConversation.cs
public static System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse> GetUserTokenAsync (this Microsoft.Bot.Builder.Dialogs.IDialogContext context, string connectionName, string magicCode);
static member GetUserTokenAsync : Microsoft.Bot.Builder.Dialogs.IDialogContext * string * string -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.TokenResponse>
<Extension()>
Public Function GetUserTokenAsync (context As IDialogContext, connectionName As String, magicCode As String) As Task(Of TokenResponse)
参数
- context
- IDialogContext
- connectionName
- String
- magicCode
- String