TelemetryLoggerMiddleware(IBotTelemetryClient, 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 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
.