IServerChannelSinkProvider.Next Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the next sink provider in the channel sink provider chain.
public:
property System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ Next { System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ get(); void set(System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ value); };
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; }
member this.Next : System.Runtime.Remoting.Channels.IServerChannelSinkProvider with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.Next : System.Runtime.Remoting.Channels.IServerChannelSinkProvider with get, set
Public Property Next As IServerChannelSinkProvider
The next sink provider in the channel sink provider chain.
- Attributes
The immediate caller does not have infrastructure permission.
IDictionary^ prop = gcnew Hashtable;
prop[ "port" ] = 9000;
IClientChannelSinkProvider^ clientChain = gcnew BinaryClientFormatterSinkProvider;
IServerChannelSinkProvider^ serverChain = gcnew SoapServerFormatterSinkProvider;
serverChain->Next = gcnew BinaryServerFormatterSinkProvider;
ChannelServices::RegisterChannel( gcnew HttpChannel( prop,clientChain,serverChain ) );
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));
Dim prop = New Hashtable()
prop("port") = 9000
Dim clientChain = New BinaryClientFormatterSinkProvider()
Dim serverChain = New SoapServerFormatterSinkProvider()
serverChain.Next = New BinaryServerFormatterSinkProvider()
ChannelServices.RegisterChannel(New HttpChannel(prop, clientChain, serverChain))
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 |
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Opinia o produkcie .NET
.NET to projekt typu open source. Wybierz link, aby przekazać opinię: