Share via


TelemetryInitializerMiddleware(TelemetryLoggerMiddleware, Boolean) Constructor

Definition

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.

Applies to