This documentation is archived and is not being maintained.

IContextChannel Interface

Defines the interface for the context control of a channel.

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

public interface IContextChannel : IChannel, 
	ICommunicationObject, IExtensibleObject<IContextChannel>

The IContextChannel defines the controls for the context of a channel. This includes the SessionId, InputSession, OutputSession, and AllowOutputBatching for the channel, and the LocalAddress and RemoteAddress for the endpoints participating in the session. The IContextChannel interface forms part of the IServiceChannel and IClientChannel interfaces and of the IDuplexContextChannel 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