Table of Contents

Class SessionStateTelemetry

Namespace
Microsoft.ApplicationInsights.DataContracts
Assembly
Microsoft.ApplicationInsights.dll
[Obsolete("Session state events are no longer used. This telemetry item will be sent as EventTelemetry.")]
public sealed class SessionStateTelemetry : ITelemetry
Inheritance
SessionStateTelemetry
Implements
Inherited Members
Extension Methods

Constructors

SessionStateTelemetry()

public SessionStateTelemetry()

SessionStateTelemetry(SessionState)

public SessionStateTelemetry(SessionState state)

Parameters

state SessionState

Properties

Context

public TelemetryContext Context { get; }

Property Value

TelemetryContext

Extension

public IExtension Extension { get; set; }

Property Value

IExtension

Sequence

public string Sequence { get; set; }

Property Value

string

State

public SessionState State { get; set; }

Property Value

SessionState

Timestamp

public DateTimeOffset Timestamp { get; set; }

Property Value

DateTimeOffset

Methods

DeepClone()

public ITelemetry DeepClone()

Returns

ITelemetry

SerializeData(ISerializationWriter)

public void SerializeData(ISerializationWriter serializationWriter)

Parameters

serializationWriter ISerializationWriter