ICloudAdapterErrorHandler Interface
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 exceptions that escape agent turn processing in a CloudAdapter.
public interface ICloudAdapterErrorHandler
type ICloudAdapterErrorHandler = interface
Public Interface ICloudAdapterErrorHandler
Remarks
Register an implementation with dependency injection to replace the default OnTurnError handler without deriving from CloudAdapter. A replacement is responsible for both logging the exception and sending any desired response activities.
Methods
| Name | Description |
|---|---|
| HandleTurnErrorAsync(ITurnContext, Exception) |
Handles an exception that escaped agent turn processing. |