Partager via


InspectionMiddleware Constructeur

Définition

Initialise une nouvelle instance de la classe InspectionMiddleware.

public InspectionMiddleware (Microsoft.Bot.Builder.InspectionState inspectionState, Microsoft.Bot.Builder.UserState userState = default, Microsoft.Bot.Builder.ConversationState conversationState = default, Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials credentials = default, Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.InspectionMiddleware> logger = default);
new Microsoft.Bot.Builder.InspectionMiddleware : Microsoft.Bot.Builder.InspectionState * Microsoft.Bot.Builder.UserState * Microsoft.Bot.Builder.ConversationState * Microsoft.Bot.Connector.Authentication.MicrosoftAppCredentials * Microsoft.Extensions.Logging.ILogger<Microsoft.Bot.Builder.InspectionMiddleware> -> Microsoft.Bot.Builder.InspectionMiddleware
Public Sub New (inspectionState As InspectionState, Optional userState As UserState = Nothing, Optional conversationState As ConversationState = Nothing, Optional credentials As MicrosoftAppCredentials = Nothing, Optional logger As ILogger(Of InspectionMiddleware) = Nothing)

Paramètres

inspectionState
InspectionState

Objet de gestion d’état pour l’état d’inspection.

userState
UserState

Objet de gestion d’état pour l’état utilisateur.

conversationState
ConversationState

Objet de gestion d’état pour l’état de la conversation.

credentials
MicrosoftAppCredentials

Informations d’identification d’authentification.

logger
ILogger<InspectionMiddleware>

Enregistreur d’événements.

S’applique à