Sprog

ICloudAdapterErrorHandler Interface

Definition

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.

Applies to