AdapterWithErrorHandler Classe
- 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
Adaptateur qui fournit la gestion des exceptions.
Récapitulatif du constructeur
| Constructeur | Description |
|---|---|
| AdapterWithErrorHandler(Configuration withConfiguration) |
Construit une erreur de gestion des erreurs Bot |
| AdapterWithErrorHandler(Configuration withConfiguration, ConversationState withConversationState) |
Construit une erreur de gestion des erreurs Bot |
Méthodes héritées de BotAdapter
Méthodes héritées de BotFrameworkAdapter
Méthodes héritées de BotFrameworkHttpAdapter
Méthodes héritées de java.lang.Object
Détails du constructeur
AdapterWithErrorHandler
public AdapterWithErrorHandler(Configuration withConfiguration)
Construit une erreur de gestion des erreurs BotFrameworkHttpAdapter en fournissant un com.microsoft.bot.builder.OnTurnErrorHandler.
Pour cet exemple, un message simple s’affiche. Pour un bot de production, un message ou une action plus informatif est probablement préféré.
Paramètres:
AdapterWithErrorHandler
public AdapterWithErrorHandler(Configuration withConfiguration, ConversationState withConversationState)
Construit une erreur de gestion des erreurs BotFrameworkHttpAdapter en fournissant un com.microsoft.bot.builder.OnTurnErrorHandler.
Pour cet exemple, un message simple s’affiche. Pour un bot de production, un message ou une action plus informatif est probablement préféré.
Paramètres: