BotCallbackHandler Delegate
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.
The callback delegate for application code.
public delegate System.Threading.Tasks.Task BotCallbackHandler(ITurnContext turnContext, CancellationToken cancellationToken);
type BotCallbackHandler = delegate of ITurnContext * CancellationToken -> Task
Public Delegate Function BotCallbackHandler(turnContext As ITurnContext, cancellationToken As CancellationToken) As Task
Parameters
- turnContext
- ITurnContext
The turn context.
- cancellationToken
- CancellationToken
The task cancellation token.
Return Value
A Task representing the asynchronous operation.