AdapterWithErrorHandler Clase
- java.
lang. Object - com.
microsoft. bot. builder. BotAdapter - com.
microsoft. bot. builder. BotFrameworkAdapter - com.
microsoft. bot. integration. BotFrameworkHttpAdapter - com.
microsoft. bot. integration. AdapterWithErrorHandler
- com.
- com.
- com.
- com.
public class AdapterWithErrorHandler
extends BotFrameworkHttpAdapter
Adaptador que proporciona control de excepciones.
Resumen del constructor
| Constructor | Description |
|---|---|
| AdapterWithErrorHandler(Configuration withConfiguration) |
Construye un bot de control de errores |
| AdapterWithErrorHandler(Configuration withConfiguration, ConversationState withConversationState) |
Construye un bot de control de errores |
Métodos heredados de BotAdapter
Métodos heredados de BotFrameworkAdapter
Métodos heredados de BotFrameworkHttpAdapter
Métodos heredados de java.lang.Object
Detalles del constructor
AdapterWithErrorHandler
public AdapterWithErrorHandler(Configuration withConfiguration)
Construye un control de errores BotFrameworkHttpAdapter proporcionando un com.microsoft.bot.builder.OnTurnErrorHandler.
Para este ejemplo, se muestra un mensaje simple. En el caso de un bot de producción, es probable que se prefiera un mensaje o una acción más informativos.
Parámetros:
AdapterWithErrorHandler
public AdapterWithErrorHandler(Configuration withConfiguration, ConversationState withConversationState)
Construye un control de errores BotFrameworkHttpAdapter proporcionando un com.microsoft.bot.builder.OnTurnErrorHandler.
Para este ejemplo, se muestra un mensaje simple. En el caso de un bot de producción, es probable que se prefiera un mensaje o una acción más informativos.
Parámetros: