<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />

Microsoft.ApplicationInsights.DataContracts.SessionStateTelemetry

Telemetry type used to track user sessions.
public TelemetryContext Context { get; }

Gets the TelemetryContext of the application when the session state was recorded.

public IExtension Extension { get; set; }

Gets or sets gets the extension used to extend this telemetry instance using new strong typed object.

public string Sequence { get; set; }

Gets or sets the value that defines absolute order of the telemetry item.

public SessionState State { get; set; }

Gets or sets the value describing state of the user session.

public DateTimeOffset Timestamp { get; set; }

Gets or sets the date and time the session state was recorded.

Initializes a new instance of the SessionStateTelemetry class.

Initializes a new instance of the SessionStateTelemetry class with the specified state.

Deeply clones a SessionStateTelemetry object.

public void SerializeData(ISerializationWriter serializationWriter)