TelemetryInitializerMiddleware(TelemetryLoggerMiddleware, Boolean) 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 TelemetryInitializerMiddleware class.
public TelemetryInitializerMiddleware (Microsoft.Bot.Builder.TelemetryLoggerMiddleware telemetryLoggerMiddleware, bool logActivityTelemetry = true);
new Microsoft.Bot.Builder.Integration.ApplicationInsights.WebApi.TelemetryInitializerMiddleware : Microsoft.Bot.Builder.TelemetryLoggerMiddleware * bool -> Microsoft.Bot.Builder.Integration.ApplicationInsights.WebApi.TelemetryInitializerMiddleware
Public Sub New (telemetryLoggerMiddleware As TelemetryLoggerMiddleware, Optional logActivityTelemetry As Boolean = true)
Parameters
- telemetryLoggerMiddleware
- TelemetryLoggerMiddleware
The TelemetryLoggerMiddleware to allow for logging of activity events.
- logActivityTelemetry
- Boolean
Indicates if the TelemetryLoggerMiddleware should be executed to log activity events.