Show / Hide Table of Contents

Class CompositeSession

CompositeSession

Inheritance
System.Object
CompositeSession
Implements
ICompositeSession
System.IDisposable
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class CompositeSession : Object, ICompositeSession, IDisposable

Constructors

CompositeSession(CompositeSessionKey, String, SessionKey, String, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, SessionKey sessionKey, string sessionConnectionString, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

MAT.OCS.Core.SessionKey sessionKey

The session key.

System.String sessionConnectionString

The session connection string.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, IClientSession, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, IClientSession session, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

IClientSession session

The session.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, ICompositePdaExecutionService, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, ICompositePdaExecutionService executionService, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

ICompositePdaExecutionService executionService

The PDA execution service.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, SessionSummary, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, SessionSummary sessionSummary, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

SessionSummary sessionSummary

The session summary.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, IDictionary<SessionKey, String>, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, IDictionary<SessionKey, string> sessions, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.String> sessions

Dictionary of Session Kesy and Session ConnectionStrings.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, IEnumerable<IClientSession>, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, IEnumerable<IClientSession> sessions, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

System.Collections.Generic.IEnumerable<IClientSession> sessions

The sessions.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

CompositeSession(CompositeSessionKey, String, IEnumerable<SessionSummary>, CompositeSessionMode)

Initializes a new instance of the CompositeSession class.

Declaration
public CompositeSession(CompositeSessionKey key, string compositeSessionIdentifier, IEnumerable<SessionSummary> sessionSummaries, CompositeSessionMode compositeSessionMode)
Parameters
Type Name Description
MAT.OCS.Core.CompositeSessionKey key

The composite session key.

System.String compositeSessionIdentifier

The composite session identifier.

System.Collections.Generic.IEnumerable<SessionSummary> sessionSummaries

The session summaries.

CompositeSessionMode compositeSessionMode

The composite session mode (defaults to Append mode).

Properties

AutoFitLaps

Gets or Sets AutoFitLaps on or off

Declaration
public bool AutoFitLaps { get; }
Property Value
Type Description
System.Boolean

AutoFitLimit

Sets the AutoFit Limit

Declaration
public double AutoFitLimit { get; }
Property Value
Type Description
System.Double
Remarks

The X-axis of the Overlay data is stretched or compressed so that the start and end of each lap matches the start and end of the lap in the primary set

CompareSessionMode

Gets or sets the Compare mode of the session

Declaration
public ICompareSessionMode CompareSessionMode { get; set; }
Property Value
Type Description
ICompareSessionMode

CompareSessionTimeOffset

What is the compare session offset in time.

Declaration
public long CompareSessionTimeOffset { get; }
Property Value
Type Description
System.Int64

Conversions

Conversions

Declaration
public IDictionary<SessionKey, ReadOnlyCollection<ConversionBase>> Conversions { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.Collections.ObjectModel.ReadOnlyCollection<ConversionBase>>

CurrentOffset

Gets the current offset.

Declaration
public PdaCurrentPosition CurrentOffset { get; }
Property Value
Type Description
PdaCurrentPosition

The current offset.

DefaultSessionOffset

Gets the Default Session Offset

Declaration
public PdaCurrentPosition DefaultSessionOffset { get; }
Property Value
Type Description
PdaCurrentPosition

Disposed

Has this instance been Disposed

Declaration
public bool Disposed { get; }
Property Value
Type Description
System.Boolean

Enabled

Gets or Sets Whether this CompositeSession is Enabled

Declaration
public bool Enabled { get; }
Property Value
Type Description
System.Boolean

EndTime

End Time

Declaration
public long EndTime { get; }
Property Value
Type Description
System.Int64

ErrorDefinitions

Error Definitions

Declaration
public IDictionary<SessionKey, ReadOnlyCollection<ErrorDefinition>> ErrorDefinitions { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.Collections.ObjectModel.ReadOnlyCollection<ErrorDefinition>>

EventDefinitions

Event Definitions

Declaration
public IDictionary<SessionKey, ReadOnlyCollection<EventDefinition>> EventDefinitions { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.Collections.ObjectModel.ReadOnlyCollection<EventDefinition>>

Events

Events

Declaration
public IDictionary<SessionKey, EventCollection> Events { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, EventCollection>

Identifier

CompositeSession Identifier

Declaration
public string Identifier { get; set; }
Property Value
Type Description
System.String

Items

Session Items

Declaration
public IDictionary<SessionKey, SessionDataItemsCollection<SessionDataItem>> Items { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, SessionDataItemsCollection<SessionDataItem>>

Key

CompositeSession Key

Declaration
public CompositeSessionKey Key { get; }
Property Value
Type Description
MAT.OCS.Core.CompositeSessionKey

Laps

Laps

Declaration
public IDictionary<SessionKey, ILapCollection> Laps { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, ILapCollection>

Mode

Overlay or Append Mode

Declaration
public CompositeSessionMode Mode { get; set; }
Property Value
Type Description
CompositeSessionMode

Parameters

Parameters

Declaration
public IDictionary<SessionKey, ReadOnlyCollection<ParameterBase>> Parameters { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.Collections.ObjectModel.ReadOnlyCollection<ParameterBase>>

PrimarySession

The Primary Session

Declaration
public SessionBase PrimarySession { get; }
Property Value
Type Description
SessionBase

SessionEpochDate

Gets the session epoch date.

Declaration
public DateTime SessionEpochDate { get; }
Property Value
Type Description
System.DateTime

The session epoch date.

Sessions

Child sessions

Declaration
public List<ICompositeSessionInfo> Sessions { get; }
Property Value
Type Description
System.Collections.Generic.List<ICompositeSessionInfo>

StartTime

Start Time

Declaration
public long StartTime { get; }
Property Value
Type Description
System.Int64

State

SessionState

Declaration
public SessionState State { get; }
Property Value
Type Description
SessionState

TimeRange

Timerange

Declaration
public TimeRange TimeRange { get; }
Property Value
Type Description
TimeRange

XAxisParameter

X Axis Parameter

Declaration
public string XAxisParameter { get; }
Property Value
Type Description
System.String

Methods

Add(IClientSession)

Add a Session to this CompositeSession

Declaration
public void Add(IClientSession session)
Parameters
Type Name Description
IClientSession session

Add(SessionSummary)

Adds the specified session summary.

Declaration
public void Add(SessionSummary sessionSummary)
Parameters
Type Name Description
SessionSummary sessionSummary

Session summary to open.

Add(IEnumerable<IClientSession>)

Add Sessions to this compositeSession

Declaration
public void Add(IEnumerable<IClientSession> sessionsToAdd)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IClientSession> sessionsToAdd

Add(IEnumerable<SessionSummary>)

Adds the specified summaries.

Declaration
public void Add(IEnumerable<SessionSummary> summaries)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<SessionSummary> summaries

Session summaries to add.

ContainsParameter(String)

Do I contain this Paraeter

Declaration
public bool ContainsParameter(string parameterIdentifier)
Parameters
Type Name Description
System.String parameterIdentifier
Returns
Type Description
System.Boolean

CreateParameterDataAccess(String)

Create a CompositeParameterDataAccess

Declaration
public ICompositeParameterDataAccess CreateParameterDataAccess(string parameterIdentifier)
Parameters
Type Name Description
System.String parameterIdentifier
Returns
Type Description
ICompositeParameterDataAccess

DisableUnderlyingSession(SessionKey)

Disable a Session - does not provide data

Declaration
public void DisableUnderlyingSession(SessionKey key)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

EnableUnderlyingSession(SessionKey)

Enable a Session - may provide data

Declaration
public void EnableUnderlyingSession(SessionKey key)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

Finalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Declaration
protected override void Finalize()

GetErrorData(Int64, Int64)

Get Error Data

Declaration
public Dictionary<SessionKey, IEnumerable<IErrorData>> GetErrorData(long startTime, long endTime)
Parameters
Type Name Description
System.Int64 startTime
System.Int64 endTime
Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IEnumerable<IErrorData>>

GetErrorDataForApplicationGroups(Int64, Int64, IEnumerable<String>)

Retrieve Error Data for this Session for the specified ApplicationGroup Names

Declaration
public Dictionary<SessionKey, IEnumerable<IErrorData>> GetErrorDataForApplicationGroups(long startTime, long endTime, IEnumerable<string> groups)
Parameters
Type Name Description
System.Int64 startTime

The start time.

System.Int64 endTime

The end time.

System.Collections.Generic.IEnumerable<System.String> groups

The application group names.

Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IEnumerable<IErrorData>>

GetErrorDataForIdentifiers(Int64, Int64, IEnumerable<String>)

Retrieve Error Data for this Session for the specified current/logger parameter identifiers

Declaration
public Dictionary<SessionKey, IEnumerable<IErrorData>> GetErrorDataForIdentifiers(long startTime, long endTime, IEnumerable<string> identifiers)
Parameters
Type Name Description
System.Int64 startTime

The start time.

System.Int64 endTime

The end time.

System.Collections.Generic.IEnumerable<System.String> identifiers

The current/logged parameter identifiers

Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IEnumerable<IErrorData>>

GetEvents(Int64, Int64)

Get Events

Declaration
public Dictionary<SessionKey, IList<Event>> GetEvents(long startTime, long endTime)
Parameters
Type Name Description
System.Int64 startTime
System.Int64 endTime
Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IList<Event>>

GetFastestLap()

Gets the fastest lap of all sessions.

Declaration
public ILap GetFastestLap()
Returns
Type Description
ILap

GetLapBasedOnTimestamp(Int64)

Find the Lap which the timestamp falls within.

Declaration
public ILap GetLapBasedOnTimestamp(long timestamp)
Parameters
Type Name Description
System.Int64 timestamp

The timestamp.

Returns
Type Description
ILap

A Lap

GetLaps(Int64, Int64)

Get Laps

Declaration
public Dictionary<SessionKey, IEnumerable<Lap>> GetLaps(long startTime, long endTime)
Parameters
Type Name Description
System.Int64 startTime
System.Int64 endTime
Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IEnumerable<Lap>>

GetParametersForGroup(String)

Gets the parameters for an Application or Parameter group.

Declaration
public IDictionary<SessionKey, IReadOnlyList<ParameterBase>> GetParametersForGroup(string group)
Parameters
Type Name Description
System.String group

ApplicationGroup Name, or, ParameterGroup Identifier.

Returns
Type Description
System.Collections.Generic.IDictionary<MAT.OCS.Core.SessionKey, System.Collections.Generic.IReadOnlyList<ParameterBase>>

GetSessionContainingFastestLap()

Gets the fastet lap over all the sessions.

Declaration
public SessionKey GetSessionContainingFastestLap()
Returns
Type Description
MAT.OCS.Core.SessionKey

GetSessionUnderTimestampOrNext(Int64)

Get the session under a particular timestamp If no session are present, give the previous or next session

Declaration
public ICompositeSessionInfo GetSessionUnderTimestampOrNext(long timestamp)
Parameters
Type Name Description
System.Int64 timestamp
Returns
Type Description
ICompositeSessionInfo

GetSessionUnderTimestampOrPrevious(Int64)

Get the session under a particular timestamp If no session are present, give the previous or previous session

Declaration
public ICompositeSessionInfo GetSessionUnderTimestampOrPrevious(long timestamp)
Parameters
Type Name Description
System.Int64 timestamp
Returns
Type Description
ICompositeSessionInfo

IsInError(String, Int64)

Determines whether the Parameter data [is in error] for [the specified identifier] at the specified timestamp.

Declaration
public Dictionary<SessionKey, bool> IsInError(string identifier, long time)
Parameters
Type Name Description
System.String identifier

The Parameter identifier.

System.Int64 time

The time in nanoseconds.

Returns
Type Description
System.Collections.Generic.Dictionary<MAT.OCS.Core.SessionKey, System.Boolean>

True if the data is in Error

LoadAndAdd(SessionKey, String)

Adds the specified session key.

Declaration
public IClientSession LoadAndAdd(SessionKey sessionKey, string connectionString)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey sessionKey

The session key.

System.String connectionString

The connection string.

Returns
Type Description
IClientSession

LoadConfiguration(SessionKey)

Loads the configuration for an underlying SqlRace Session.

Declaration
public void LoadConfiguration(SessionKey sessionKey)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey sessionKey

The SQLRace Session Key.

Remarks

This method will load all of the configuration for this session!

LoadParameters(IEnumerable<String>)

Loads configuration for the required parameterIdentifiers".

Declaration
public void LoadParameters(IEnumerable<string> parameterIdentifiers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> parameterIdentifiers

parameter identifiers required

PromoteToPrimary(SessionKey)

Promote a Session to the Primary Slot

Declaration
public SessionBase PromoteToPrimary(SessionKey key)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key
Returns
Type Description
SessionBase

Remove(SessionKey)

Remove a Session

Declaration
public bool Remove(SessionKey key)
Parameters
Type Name Description
MAT.OCS.Core.SessionKey key

Session Key to be removed

Returns
Type Description
System.Boolean

Whether the Session was successfully removed

Remove(IEnumerable<SessionKey>)

Remove Sessions

Declaration
public IEnumerable<SessionKey> Remove(IEnumerable<SessionKey> sessionsToRemove)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<MAT.OCS.Core.SessionKey> sessionsToRemove

List of Session Guids to Remove

Returns
Type Description
System.Collections.Generic.IEnumerable<MAT.OCS.Core.SessionKey>

Sessions that have been removed

Remove(IEnumerable<IClientSession>)

Remove Sessions

Declaration
public IEnumerable<SessionKey> Remove(IEnumerable<IClientSession> sessionsToRemove)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IClientSession> sessionsToRemove

List of Sessions to Remove

Returns
Type Description
System.Collections.Generic.IEnumerable<MAT.OCS.Core.SessionKey>

Sessions that have been removed

SetAutoFit(Boolean)

Sets AutoFitLaps on or off

Declaration
public void SetAutoFit(bool autoFit)
Parameters
Type Name Description
System.Boolean autoFit

SetAutoFitLimit(Double)

Sets the AutoFit Limit

Declaration
public void SetAutoFitLimit(double autoFitLimit)
Parameters
Type Name Description
System.Double autoFitLimit

% Threshold below which data will be stretched or compressed

Remarks

The X-axis of the Overlay data is stretched or compressed so that the start and end of each lap matches the start and end of the lap in the primary set

SetDefaultSessionStartTimeOffset(Int64)

Sets the default session start time offset between this session and the master composite session.

Declaration
public void SetDefaultSessionStartTimeOffset(long masterSessionStartTime)
Parameters
Type Name Description
System.Int64 masterSessionStartTime

The master session start time.

SetEnabled(Boolean)

Set the enabled state of the composite session

Declaration
public void SetEnabled(bool enabled)
Parameters
Type Name Description
System.Boolean enabled

The enabled state

SetOffsetValue(Double)

Sets the X Axis offset value.

Declaration
public void SetOffsetValue(double offset)
Parameters
Type Name Description
System.Double offset

The offset.

SetOffsetValue(Int64)

Sets the Time offset value.

Declaration
public void SetOffsetValue(long offset)
Parameters
Type Name Description
System.Int64 offset

The offset.

SetXAxisParameter(String)

Sets the x axis parameter.

Declaration
public void SetXAxisParameter(string identifier)
Parameters
Type Name Description
System.String identifier

The identifier.

Events

ApplicationGroupsAdded

Event fired when application groups are added

Declaration
public event EventHandler<SessionEventArgs> ApplicationGroupsAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

ChannelsAdded

Event fired when channels are added

Declaration
public event EventHandler<SessionEventArgs> ChannelsAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

ConfigurationProcessed

Event fired when configuration has been processed (validated and queued for persistence).

Declaration
public event EventHandler<SessionEventArgs> ConfigurationProcessed
Event Type
Type Description
System.EventHandler<SessionEventArgs>

ConversionsAdded

Event fired when conversions are added

Declaration
public event EventHandler<SessionEventArgs> ConversionsAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

ErrorDataAdded

Occurs when [error data added].

Declaration
public event EventHandler<ItemErrorArgs> ErrorDataAdded
Event Type
Type Description
System.EventHandler<ItemErrorArgs>

ErrorDefinitionsAdded

Event fired when parameters are added

Declaration
public event EventHandler<SessionEventArgs> ErrorDefinitionsAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

EventDataAdded

Occurs when [event data added].

Declaration
public event EventHandler<ItemEventArgs> EventDataAdded
Event Type
Type Description
System.EventHandler<ItemEventArgs>

EventDefinitionsAdded

Event fired when event definitions are added

Declaration
public event EventHandler<SessionEventArgs> EventDefinitionsAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

LapCompleted

Event fired when lap completion happens (i.e. when lap is added which causes the end time for the previous lap to be calculated).

Declaration
public event EventHandler<LapEventArgs> LapCompleted
Event Type
Type Description
System.EventHandler<LapEventArgs>

LapStarted

Event fired when a new lap starts (i.e. when a new lap is added.

Declaration
public event EventHandler<LapEventArgs> LapStarted
Event Type
Type Description
System.EventHandler<LapEventArgs>

LapStatisticsCompleted

Event fired when Lap Statistics calculation has completed

Declaration
public event EventHandler<LapStatisticsEventArgs> LapStatisticsCompleted
Event Type
Type Description
System.EventHandler<LapStatisticsEventArgs>

LapStatisticsPersisted

Event fired when bactch of Lap Statistics has persisted

Declaration
public event EventHandler<LapStatisticsEventArgs> LapStatisticsPersisted
Event Type
Type Description
System.EventHandler<LapStatisticsEventArgs>

MessagingErrorOccurred

Event fired when an error occurs on a remote connection using messaging

Declaration
public event EventHandler<MessagingErrorEventArgs> MessagingErrorOccurred
Event Type
Type Description
System.EventHandler<MESL.SqlRace.Messaging.Interface.MessagingErrorEventArgs>

NewFastestLap

Occurs when [new fastest lap] is available.

Declaration
public event EventHandler<LapEventArgs> NewFastestLap
Event Type
Type Description
System.EventHandler<LapEventArgs>

OnAddChannelDataError

Occurs when there has been an error adding channel data to this Session.

Declaration
public event EventHandler<AddChannelDataErrorEventArgs> OnAddChannelDataError
Event Type
Type Description
System.EventHandler<AddChannelDataErrorEventArgs>

OnDisposed

Event Fired when the CompositeSession is disposed

Declaration
public event EventHandler OnDisposed
Event Type
Type Description
System.EventHandler

ParametersAdded

Event fired when parameters are added

Declaration
public event EventHandler<SessionEventArgs> ParametersAdded
Event Type
Type Description
System.EventHandler<SessionEventArgs>

SessionAdded

Event Fired when a Session is Added.

Declaration
public event EventHandler<CompositeSessionEventArgs> SessionAdded
Event Type
Type Description
System.EventHandler<CompositeSessionEventArgs>

SessionClosed

Event fired when session is closed.

Declaration
public event EventHandler<SessionClosedArgs> SessionClosed
Event Type
Type Description
System.EventHandler<SessionClosedArgs>

SessionDetailChangedEventOccurred

Event fired when the session detail item is changed.

Declaration
public event EventHandler<SessionDetailChangedEventArgs> SessionDetailChangedEventOccurred
Event Type
Type Description
System.EventHandler<SessionDetailChangedEventArgs>

SessionIdentifierChangedEventOccurred

Event fired when the session identifier changes.

Declaration
public event EventHandler<SessionIdentifierChangedEventArgs> SessionIdentifierChangedEventOccurred
Event Type
Type Description
System.EventHandler<SessionIdentifierChangedEventArgs>

SessionNotAvailableEventOccurred

Event fired when a message is received for a session that is no longer available.

Declaration
public event EventHandler<SessionNotAvailableEventArgs> SessionNotAvailableEventOccurred
Event Type
Type Description
System.EventHandler<SessionNotAvailableEventArgs>

SessionRemoved

Event Fired when a Session is Removed.

Declaration
public event EventHandler<CompositeSessionEventArgs> SessionRemoved
Event Type
Type Description
System.EventHandler<CompositeSessionEventArgs>

SessionStatusChangedEventOccurred

Event fired when the session status changes.

Declaration
public event EventHandler<SessionStatusChangedEventArgs> SessionStatusChangedEventOccurred
Event Type
Type Description
System.EventHandler<SessionStatusChangedEventArgs>

TelemetryStarted

Event fired when the first method to add data to the session has been invoked.

Declaration
public event EventHandler<EventArgs> TelemetryStarted
Event Type
Type Description
System.EventHandler<System.EventArgs>

Implements

ICompositeSession
System.IDisposable
Back to top Generated by DocFX