ISession Interface


Defines the interface to establish a shared context among parties that exchange messages by providing an ID for the communication session.

public interface class ISession
public interface ISession
type ISession = interface
Public Interface ISession


The ISession interface is the base interface for all sessions. It contains a Id property for identifying the session.

A session is a shared context among all participants in a communication exchange. This shared context is characterized by the following three properties:

  • 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:



Gets the ID that uniquely identifies the session.

Applies to