Windows apps
Collapse the table of content
Expand the table of content

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

NameDescription
System_CAPS_pubpropertyId

Gets the ID that uniquely identifies the session.

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:

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft