BinaryServerFormatterSink 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 BinaryServerFormatterSink 類別的新執行個體。
public:
BinaryServerFormatterSink(System::Runtime::Remoting::Channels::BinaryServerFormatterSink::Protocol protocol, System::Runtime::Remoting::Channels::IServerChannelSink ^ nextSink, System::Runtime::Remoting::Channels::IChannelReceiver ^ receiver);
public BinaryServerFormatterSink (System.Runtime.Remoting.Channels.BinaryServerFormatterSink.Protocol protocol, System.Runtime.Remoting.Channels.IServerChannelSink nextSink, System.Runtime.Remoting.Channels.IChannelReceiver receiver);
new System.Runtime.Remoting.Channels.BinaryServerFormatterSink : System.Runtime.Remoting.Channels.BinaryServerFormatterSink.Protocol * System.Runtime.Remoting.Channels.IServerChannelSink * System.Runtime.Remoting.Channels.IChannelReceiver -> System.Runtime.Remoting.Channels.BinaryServerFormatterSink
Public Sub New (protocol As BinaryServerFormatterSink.Protocol, nextSink As IServerChannelSink, receiver As IChannelReceiver)
參數
- protocol
- BinaryServerFormatterSink.Protocol
BinaryServerFormatterSink.Protocol,將與 BinaryServerFormatterSink 的目前執行個體搭配使用。
- nextSink
- IServerChannelSink
通道接收鏈結中的下一個接收。
- receiver
- IChannelReceiver
表示將接收 BinaryServerFormatterSink 的新執行個體所序列化之訊息的通道。