Freigeben über


InspectionMiddleware Konstruktor

Definition

Initialisiert eine neue Instanz der InspectionMiddleware-Klasse.

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)

Parameter

inspectionState
InspectionState

Ein Zustandsverwaltungsobjekt für den Überprüfungszustand.

userState
UserState

Ein Zustandsverwaltungsobjekt für den Benutzerzustand.

conversationState
ConversationState

Ein Zustandsverwaltungsobjekt für den Unterhaltungszustand.

credentials
MicrosoftAppCredentials

Die Anmeldeinformationen für die Authentifizierung.

logger
ILogger<InspectionMiddleware>

Eine Protokollierung.

Gilt für: