EventLoopDialogTask.IPostToBot.PostAsync(IActivity, CancellationToken) 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.
System.Threading.Tasks.Task IPostToBot.PostAsync (Microsoft.Bot.Connector.IActivity activity, System.Threading.CancellationToken token);
abstract member Microsoft.Bot.Builder.Dialogs.Internals.IPostToBot.PostAsync : Microsoft.Bot.Connector.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.Bot.Builder.Dialogs.Internals.IPostToBot.PostAsync : Microsoft.Bot.Connector.IActivity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function PostAsync (activity As IActivity, token As CancellationToken) As Task Implements IPostToBot.PostAsync
Parameters
- activity
- IActivity
- token
- CancellationToken