Initializes a new instance of the SessionInfo class

Namespace: OPSSDKCommon.Model.Session
Assembly: OPSSDK (in OPSSDK.dll) Version: 3.3.2.884

Syntax

C#
public SessionInfo(
	string sessionId,
	SessionState sessionState,
	string callee,
	string caller,
	string callerCallId,
	string calleeCallId,
	DateTime startTime,
	CallDirection sessionType,
	TimeSpan ringDuration,
	TimeSpan talkDuration,
	TimeSpan stateDuration
)
Visual Basic
Public Sub New ( 
	sessionId As String,
	sessionState As SessionState,
	callee As String,
	caller As String,
	callerCallId As String,
	calleeCallId As String,
	startTime As DateTime,
	sessionType As CallDirection,
	ringDuration As TimeSpan,
	talkDuration As TimeSpan,
	stateDuration As TimeSpan
)
Visual C++
public:
SessionInfo(
	String^ sessionId, 
	SessionState sessionState, 
	String^ callee, 
	String^ caller, 
	String^ callerCallId, 
	String^ calleeCallId, 
	DateTime startTime, 
	CallDirection sessionType, 
	TimeSpan ringDuration, 
	TimeSpan talkDuration, 
	TimeSpan stateDuration
)

Parameters

sessionId
Type: System..::..String

[Missing <param name="sessionId"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

sessionState
Type: OPSSDKCommon.Model.Session..::..SessionState

[Missing <param name="sessionState"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

callee
Type: System..::..String

[Missing <param name="callee"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

caller
Type: System..::..String

[Missing <param name="caller"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

callerCallId
Type: System..::..String

[Missing <param name="callerCallId"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

calleeCallId
Type: System..::..String

[Missing <param name="calleeCallId"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

startTime
Type: System..::..DateTime

[Missing <param name="startTime"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

sessionType
Type: OPSSDKCommon.Model.Session..::..CallDirection

[Missing <param name="sessionType"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

ringDuration
Type: System..::..TimeSpan

[Missing <param name="ringDuration"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

talkDuration
Type: System..::..TimeSpan

[Missing <param name="talkDuration"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

stateDuration
Type: System..::..TimeSpan

[Missing <param name="stateDuration"/> documentation for "M:OPSSDKCommon.Model.Session.SessionInfo.#ctor(System.String,OPSSDKCommon.Model.Session.SessionState,System.String,System.String,System.String,System.String,System.DateTime,OPSSDKCommon.Model.Session.CallDirection,System.TimeSpan,System.TimeSpan,System.TimeSpan)"]

See Also