Udostępnij przez


InspectionMiddleware Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

inspectionState
InspectionState

Obiekt zarządzania stanem dla stanu inspekcji.

userState
UserState

Obiekt zarządzania stanem dla stanu użytkownika.

conversationState
ConversationState

Obiekt zarządzania stanem konwersacji.

credentials
MicrosoftAppCredentials

Poświadczenia uwierzytelniania.

logger
ILogger<InspectionMiddleware>

Rejestrator.

Dotyczy