Share via


TelemetryLoggerMiddleware(IBotTelemetryClient, Boolean) Constructor

Definition

Initializes a new instance of the TelemetryLoggerMiddleware class.

public TelemetryLoggerMiddleware (Microsoft.Bot.Builder.IBotTelemetryClient telemetryClient, bool logPersonalInformation = false);
new Microsoft.Bot.Builder.TelemetryLoggerMiddleware : Microsoft.Bot.Builder.IBotTelemetryClient * bool -> Microsoft.Bot.Builder.TelemetryLoggerMiddleware
Public Sub New (telemetryClient As IBotTelemetryClient, Optional logPersonalInformation As Boolean = false)

Parameters

telemetryClient
IBotTelemetryClient

The telemetry client to send telemetry events to.

logPersonalInformation
Boolean

true to include personally identifiable information; otherwise, false.

Applies to