ISession Interface
Collapse the table of content
Expand the table of content

ISession Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

© 2017 Microsoft