IServerChannelSinkProvider.Next Property

Gets or sets the next sink provider in the channel sink provider chain.

Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)

IServerChannelSinkProvider Next { get; set; }
/** @property */
IServerChannelSinkProvider get_Next ()

/** @property */
void set_Next (IServerChannelSinkProvider value)

function get Next () : IServerChannelSinkProvider

function set Next (value : IServerChannelSinkProvider)

Not applicable.

Property Value

The next sink provider in the channel sink provider chain.

Exception typeCondition


The immediate caller does not have infrastructure permission.

IDictionary prop = new Hashtable();
prop["port"] = 9000;

IClientChannelSinkProvider clientChain = new BinaryClientFormatterSinkProvider();

IServerChannelSinkProvider serverChain = new SoapServerFormatterSinkProvider();
serverChain.Next = new BinaryServerFormatterSinkProvider();

ChannelServices.RegisterChannel(new HttpChannel(prop, clientChain, serverChain));

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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, 2.0, 1.1, 1.0