C# Class Microsoft.ApplicationInsights.Extensibility.SessionContextInitializer

An ITelemetryInitializer implementation that populates the SessionContext.Id of an Application Insights ITelemetry.Context
Inheritance: ITelemetryInitializer
ファイルを表示 Open project: fidmor89/SLAB_AppInsights

Public Methods

Method Description
Initialize ( ITelemetry telemetry ) : void

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.

SessionContextInitializer ( string sessionId = null ) : System

Initializes a new instance of the SessionContextInitializer class.

Method Details

Initialize() public method

Initializes the given Microsoft.ApplicationInsights.Channel.ITelemetry.
public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry
return void

SessionContextInitializer() public method

Initializes a new instance of the SessionContextInitializer class.
public SessionContextInitializer ( string sessionId = null ) : System
sessionId string The session ID. If null, generated with .
return System