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 的新实例序列化的消息的信道。