次の方法で共有


Session Class

Definition

This represents a single customer session within UII An enumeration over a session give a set of IHostedApplications.

public ref class Session abstract : System::Collections::IEnumerable
public abstract class Session : System.Collections.IEnumerable
type Session = class
    interface IEnumerable
Public MustInherit Class Session
Implements IEnumerable
Inheritance
Session
Derived
Implements

Constructors

Session(String, Int32, Guid, Boolean)

Session constructor.

Session(String, Int32, Guid)

Session constructor.

Session(String, Int32)

Session constructor.

Properties

AppHost

Get the list of applications and data for this session.

CallId

Gets or sets the ID which identifies the call if there is one for this session. -1 if not.

FocusedApplication

Gets or sets the application in the session which currently has focus.

Global

Gets a bool indicating if this is a global session, that is one that is not tied to a customer.

IsWorkflowPending

Gets or sets if the workflow being used (pending). Returns false if no workflow or if its done or cancelled.

Name

Gets or sets the name of the session.

PresenceState

Gets or sets the setting for the Presense state for this session.

RestoredSessionInfo

Implementation for Modified Workflow

SessionId

Get the the unique ID for this session.

StartTime

Get the start time of the the session.

Workflow

Gets or sets the serialized state of the workflow for this session, kept in XML. Used whenever switching sessions to restore the workflow.

Methods

ApplicationExists(Guid)

Returns whether an application exists in this session.

GetApplication(Guid)

Returns the requested application or null if none.

GetCustomerID()

This abstract method is used to return the customer ID.

GetEnumerator()

Returns an enumerator that iterates through the collection

Restore(String)

Restores the state of a session from the passed XML.

Save(Boolean)

Function to save the sessions state for a customer

ToString()

This method override the default ToString() method.

Applies to