Share via


Session Constructors

Definition

Overloads

Session(String, Int32)

Session constructor.

Session(String, Int32, Guid)

Session constructor.

Session(String, Int32, Guid, Boolean)

Session constructor.

Session(String, Int32)

Session constructor.

protected:
 Session(System::String ^ name, int callId);
protected Session (string name, int callId);
new Microsoft.Uii.Csr.Session : string * int -> Microsoft.Uii.Csr.Session
Protected Sub New (name As String, callId As Integer)

Parameters

name
String

The session name, usually the customer name.

callId
Int32

The call ID associated with the session, -1 if no call.

Applies to

Session(String, Int32, Guid)

Session constructor.

protected:
 Session(System::String ^ name, int callId, Guid sessionId);
protected Session (string name, int callId, Guid sessionId);
new Microsoft.Uii.Csr.Session : string * int * Guid -> Microsoft.Uii.Csr.Session
Protected Sub New (name As String, callId As Integer, sessionId As Guid)

Parameters

name
String

The session name, usually the customer name.

callId
Int32

The call ID associated with the session, -1 if no call.

sessionId
Guid

Session ID to allow clients to specify the session ID explicitly.

Applies to

Session(String, Int32, Guid, Boolean)

Session constructor.

protected:
 Session(System::String ^ name, int callId, Guid sessionId, bool useContextProxy);
protected Session (string name, int callId, Guid sessionId, bool useContextProxy);
new Microsoft.Uii.Csr.Session : string * int * Guid * bool -> Microsoft.Uii.Csr.Session
Protected Sub New (name As String, callId As Integer, sessionId As Guid, useContextProxy As Boolean)

Parameters

name
String

The session name, usually the customer name.

callId
Int32

The call ID associated with the session, -1 if no call.

sessionId
Guid

Session ID to allow clients to specify the session ID explicitly.

useContextProxy
Boolean

true to activate calls to the context web service to persist context changes

Applies to