Export (0) Print
Expand All

ISessionChannel Generic Interface

Defines the interface that associates a channel with a specific type of session.

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

generic<typename TSession> where TSession : ISession
public interface class ISessionChannel
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.
Not applicable.

Type Parameters

TSession

The type of ISession associated with the cannel.

The ISessionChannel interface is the base interface for session-based channels. It associates the type of session with the channel by setting the generic type parameter TSession to a type that implements the ISession interface in a way that reflects its role in the message exchange. For example, the TSession is set to IInputSession for an incoming session on the receiving side of a one-way communication, to IOutputSession for an outgoing session on the sending side of a one-way communication, and to IDuplexSession for a duplex session for a bi-directional communication pattern.

The ISessionChannel interface provides a Session property to retrieve the session with which the channel is associated.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft