Sessions.AddSession Method

Definition

Overloads

AddSession(String, Int32, Object)

Add a new session to the UII desktop.

AddSession(String, Int32, Object, Guid)

Adds a new session to the UII desktop

AddSession(String, Int32, Object)

Add a new session to the UII desktop.

public:
 virtual Microsoft::Uii::Csr::Session ^ AddSession(System::String ^ name, int callId, System::Object ^ customer);
public virtual Microsoft.Uii.Csr.Session AddSession (string name, int callId, object customer);
abstract member AddSession : string * int * obj -> Microsoft.Uii.Csr.Session
override this.AddSession : string * int * obj -> Microsoft.Uii.Csr.Session
Public Overridable Function AddSession (name As String, callId As Integer, customer As Object) As Session

Parameters

name
String

the name for the session, usually the customer's name

callId
Int32

-1 if no call

customer
Object

The customer object to attach to the session.

Returns

The new session object.

Applies to

AddSession(String, Int32, Object, Guid)

Adds a new session to the UII desktop

public:
 virtual Microsoft::Uii::Csr::Session ^ AddSession(System::String ^ name, int callId, System::Object ^ customer, Guid sessionId);
public virtual Microsoft.Uii.Csr.Session AddSession (string name, int callId, object customer, Guid sessionId);
abstract member AddSession : string * int * obj * Guid -> Microsoft.Uii.Csr.Session
override this.AddSession : string * int * obj * Guid -> Microsoft.Uii.Csr.Session
Public Overridable Function AddSession (name As String, callId As Integer, customer As Object, sessionId As Guid) As Session

Parameters

name
String

Specifies the name for the session, usually the customer's name.

callId
Int32

Specifies the call ID, -1 if no call

customer
Object

Specifies the customer object to attach to the session.

sessionId
Guid

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

Returns

The new session object.

Applies to