A telemetry initializer that will set the Session properties of Context corresponding to a RequestTelemetry object. Session is updated with properties derived from the RequestTelemetry.RequestTelemetry.Context.Session.
Наследование: Microsoft.ApplicationInsights.Web.Implementation.WebTelemetryInitializerBase
Пример #1
0
        public void InitializeDoesNotThrowWhenHttpContextIsNull()
        {
            var source = new SessionTelemetryInitializer();

            source.Initialize(new EventTelemetry("name"));
        }
 public void InitializeDoesNotThrowWhenHttpContextIsNull()
 {
     var source = new SessionTelemetryInitializer();
     source.Initialize(new EventTelemetry("name"));
 }