InspectionMiddleware Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the InspectionMiddleware class.
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)
Parameters
- inspectionState
- InspectionState
A state management object for inspection state.
- userState
- UserState
A state management object for user state.
- conversationState
- ConversationState
A state management object for conversation state.
- credentials
- MicrosoftAppCredentials
The authentication credentials.
- logger
- ILogger<InspectionMiddleware>
A logger.