This documentation is archived and is not being maintained.

ISessionChannel<TSession>.Session Property

Gets the type of session associated with this channel.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

TSession Session { get; }

Property Value

Type: TSession
The type of ISession associated with this channel.

This returns the generic parameter TSession used to define the interface.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0