Windows Dev Center

ISession Interface

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)

public interface ISession

The ISession type exposes the following members.

Public propertyIdGets the ID that uniquely identifies the session.

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:

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2015 Microsoft