ICloudAdapterErrorHandler.HandleTurnErrorAsync 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.
Handles an exception that escaped agent turn processing.
public System.Threading.Tasks.Task HandleTurnErrorAsync(Microsoft.Agents.Builder.ITurnContext turnContext, Exception exception);
abstract member HandleTurnErrorAsync : Microsoft.Agents.Builder.ITurnContext * Exception -> System.Threading.Tasks.Task
Public Function HandleTurnErrorAsync (turnContext As ITurnContext, exception As Exception) As Task
Parameters
- turnContext
- ITurnContext
The context for the turn that failed.
- exception
- Exception
The unhandled exception.
Returns
A task representing the asynchronous operation.