Conversation.ResumeAsync 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.
Overloads
ResumeAsync(ResumptionCookie, IActivity, CancellationToken) |
Obsolete.
Resume a conversation and post the data to the dialog waiting. |
ResumeAsync(ConversationReference, IActivity, CancellationToken) |
Resume a conversation and post the data to the dialog waiting. |
ResumeAsync(ResumptionCookie, IActivity, CancellationToken)
- Source:
- Conversation.cs
Caution
Use the overload that uses ConversationReference instead of ResumptionCookie
Resume a conversation and post the data to the dialog waiting.
[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
Parameters
- resumptionCookie
- ResumptionCookie
The resumption cookie.
- toBot
- IActivity
The data sent to bot.
- token
- CancellationToken
The cancellation token.
Returns
A task that represent the message to send back to the user after resumption of the conversation.
- Attributes
Applies to
ResumeAsync(ConversationReference, IActivity, CancellationToken)
- Source:
- Conversation.cs
Resume a conversation and post the data to the dialog waiting.
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
Parameters
- conversationReference
- ConversationReference
The resumption cookie.
- toBot
- IActivity
The data sent to bot.
- token
- CancellationToken
The cancellation token.
Returns
A task that represent the message to send back to the user after resumption of the conversation.