ISessionChannel Interface

Definition

Common interface for all session channels. Session channel depends on type of channel. It could be AppInsights channel, SQM channel, ETW and so on. Interface defines methods for sending events through the channel during one session.

public interface class ISessionChannel
public interface ISessionChannel
type ISessionChannel = interface
Public Interface ISessionChannel

Properties

ChannelId

Gets channel id

IsStarted

Gets a value indicating whether session already started

Properties

Gets or sets the type of a session

TransportUsed

Gets the transport used to post event. Format: id[.transport] Usually it just matches id, but sometime it more detailed. For example, in the case with Asimov channel it could be: aiutc.utc or aiutc.vortex

Methods

PostEvent(TelemetryEvent, IEnumerable<ITelemetryManifestRouteArgs>)

Posts a routed telemetry event.

PostEvent(TelemetryEvent)

Posts a telemetry event.

Start(String)

Start session channel. SessionId required for some channels.

Applies to