Conversation.ResumeAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResumeAsync(ResumptionCookie, IActivity, CancellationToken) |
已过时.
继续对话并将数据发布到正在等待的对话。 |
ResumeAsync(ConversationReference, IActivity, CancellationToken) |
继续对话并将数据发布到正在等待的对话。 |
ResumeAsync(ResumptionCookie, IActivity, CancellationToken)
- Source:
- Conversation.cs
注意
Use the overload that uses ConversationReference instead of ResumptionCookie
继续对话并将数据发布到正在等待的对话。
[System.Obsolete("Use the overload that uses ConversationReference instead of ResumptionCookie")]
public static System.Threading.Tasks.Task ResumeAsync (Microsoft.Bot.Builder.Dialogs.ResumptionCookie resumptionCookie, Microsoft.Bot.Connector.IActivity toBot, System.Threading.CancellationToken token = default);
[<System.Obsolete("Use the overload that uses ConversationReference instead of ResumptionCookie")>]
static member ResumeAsync : Microsoft.Bot.Builder.Dialogs.ResumptionCookie * Microsoft.Bot.Connector.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ResumeAsync (resumptionCookie As ResumptionCookie, toBot As IActivity, Optional token As CancellationToken = Nothing) As Task
参数
- resumptionCookie
- ResumptionCookie
恢复 Cookie。
- toBot
- IActivity
发送到机器人的数据。
- token
- CancellationToken
取消标记。
返回
一个任务,表示在恢复会话后要发回给用户的消息。
- 属性
适用于
ResumeAsync(ConversationReference, IActivity, CancellationToken)
- Source:
- Conversation.cs
继续对话并将数据发布到正在等待的对话。
public static System.Threading.Tasks.Task ResumeAsync (Microsoft.Bot.Connector.ConversationReference conversationReference, Microsoft.Bot.Connector.IActivity toBot, System.Threading.CancellationToken token = default);
static member ResumeAsync : Microsoft.Bot.Connector.ConversationReference * Microsoft.Bot.Connector.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Shared Function ResumeAsync (conversationReference As ConversationReference, toBot As IActivity, Optional token As CancellationToken = Nothing) As Task
参数
- conversationReference
- ConversationReference
恢复 Cookie。
- toBot
- IActivity
发送到机器人的数据。
- token
- CancellationToken
取消标记。
返回
一个任务,表示在恢复会话后要发回给用户的消息。