IServerChannelSinkProvider.Next Property

Definition

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

C#
public System.Runtime.Remoting.Channels.IServerChannelSinkProvider Next { get; set; }
C#
public System.Runtime.Remoting.Channels.IServerChannelSinkProvider Next { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }

Property Value

The next sink provider in the channel sink provider chain.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Examples

C#
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));

Applies to

Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1