IServerChannelSinkProvider.Next Właściwość

Definicja

Pobiera lub ustawia następnego dostawcę ujścia w łańcuchu dostawcy ujścia kanału.

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; }

Wartość właściwości

IServerChannelSinkProvider

Następny dostawca ujścia w łańcuchu dostawcy ujścia kanału.

Atrybuty

Wyjątki

Bezpośredni obiekt wywołujący nie ma uprawnień do infrastruktury.

Przykłady

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

Dotyczy

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