AdapterWithErrorHandler Clase

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 erroresFrameworkadaptador de Httpproporcionando un com.microsoft.bot.builder.OnTurnErrorHandler.

AdapterWithErrorHandler(Configuration withConfiguration, ConversationState withConversationState)

Construye un bot de control de erroresFrameworkadaptador de Httpproporcionando un com.microsoft.bot.builder.OnTurnErrorHandler.

Métodos heredados de BotAdapter

Métodos heredados de BotFrameworkAdapter

Métodos heredados de BotFrameworkHttpAdapter

Métodos heredados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

withConfiguration - Objeto Configuration que se va a usar.

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:

withConfiguration - Objeto Configuration que se va a usar.
withConversationState - Para ConversationState.

Se aplica a