IMessageQueue.DrainQueueAsync(IBotToUser, 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.
public System.Threading.Tasks.Task DrainQueueAsync (Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser botToUser, System.Threading.CancellationToken token);
abstract member DrainQueueAsync : Microsoft.Bot.Builder.Dialogs.Internals.IBotToUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DrainQueueAsync (botToUser As IBotToUser, token As CancellationToken) As Task
Parameters
- botToUser
- IBotToUser
- token
- CancellationToken