ISession Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Defines the interface to establish a shared context among parties that exchange messages by providing an ID for the communication session.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public Interface ISession
public interface ISession
The ISession type exposes the following members.
Remarks
The ISession interface is the base interface for all sessions. It contains an ID() property for identifying the session.
A session is a shared context among all participants in a communication exchange. This shared context can be characterized as follows:
Session establishment - A process for establishing shared context among all participants.
Message correlation - A method for correlating a group of messages to an instance of shared context.
The ISession interface is not informed as to the number of participants in a session or the lifetime of a session.
These session properties are provided by associating an ID with a session.
ISession is inherited by:
ISessionChannel<TSession> of type ISession
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.