Freigeben über


SessionStateTelemetry Class

Definition

Telemetry type used to track user sessions.

public ref class SessionStateTelemetry sealed : Microsoft::VisualStudio::ApplicationInsights::Channel::ITelemetry
public sealed class SessionStateTelemetry : Microsoft.VisualStudio.ApplicationInsights.Channel.ITelemetry
type SessionStateTelemetry = class
    interface ITelemetry
Public NotInheritable Class SessionStateTelemetry
Implements ITelemetry
Inheritance
SessionStateTelemetry
Implements

Constructors

SessionStateTelemetry()

Initializes a new instance of the SessionStateTelemetry class.

SessionStateTelemetry(SessionState)

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

Properties

Context

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

Sequence

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

State

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

Timestamp

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

Explicit Interface Implementations

ITelemetry.Sanitize()

Sanitizes this telemetry instance to ensure it can be accepted by the Application Insights.

Applies to