다음을 통해 공유


IServerChannelSinkProvider.Next 속성

정의

채널 싱크 공급자 체인에 있는 다음 싱크 공급자를 가져오거나 설정합니다.

public:
 property System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ Next { System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ get(); void set(System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ value); };
public System.Runtime.Remoting.Channels.IServerChannelSinkProvider Next { get; set; }
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

속성 값

IServerChannelSinkProvider

채널 싱크 공급자 체인에 있는 다음 싱크 공급자입니다.

특성

예외

직접 실행 호출자에 인프라 권한이 없는 경우

예제

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

적용 대상