IClientFormatterSinkProvider 接口

定义

将客户端信道接收器提供程序标记为客户端格式化程序接收器提供程序。Marks a client channel sink provider as a client formatter sink provider.

public interface class IClientFormatterSinkProvider : System::Runtime::Remoting::Channels::IClientChannelSinkProvider
public interface IClientFormatterSinkProvider : System.Runtime.Remoting.Channels.IClientChannelSinkProvider
[System.Runtime.InteropServices.ComVisible(true)]
public interface IClientFormatterSinkProvider : System.Runtime.Remoting.Channels.IClientChannelSinkProvider
type IClientFormatterSinkProvider = interface
    interface IClientChannelSinkProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
type IClientFormatterSinkProvider = interface
    interface IClientChannelSinkProvider
Public Interface IClientFormatterSinkProvider
Implements IClientChannelSinkProvider
派生
属性
实现

注解

IClientFormatterSinkProvider 远程处理消息流过的客户端信道创建客户端格式化程序接收器。A IClientFormatterSinkProvider creates client formatter sinks for the client channel through which remoting messages flow. 客户端上的第一个接收器必须实现 IMessageSinkIClientChannelSink 接口,或 IClientFormatterSink 接口。The first sink on the client side must implement both the IMessageSink and IClientChannelSink interfaces, or the IClientFormatterSink interface.

若要在 <formatter> 配置文件中使用标记而不是 <provider> 标记,客户端信道接收器提供程序必须实现 IClientFormatterSinkProvider 接口,而不只是实现 IClientChannelSinkProviderTo use a <formatter> tag instead of a <provider> tag within a configuration file, the client channel sink provider must implement the IClientFormatterSinkProvider interface instead of merely IClientChannelSinkProvider. 有关远程处理配置的其他信息,请参阅 通道和格式化程序配置属性 以及 远程处理设置架构For additional information about remoting configuration, see Channel and Formatter Configuration Properties and Remoting Settings Schema.

某些格式化程序接收器实现使用运行时格式化程序 (BinaryFormatterSoapFormatter) 。Some formatter sink implementations use run-time formatters (BinaryFormatter and SoapFormatter). 其他实现可以使用自己的方法将信道消息转换为流。Other implementations can use their own means to transform the channel message into the stream. 在返回旅程中,格式化程序接收器将消息流转换回信道消息元素, (返回消息) 。On the return journey the formatter sink will transform the message stream back into the channel message elements (return message).

属性

Next

获取或设置信道接收器提供程序链中的下一个接收器提供程序。Gets or sets the next sink provider in the channel sink provider chain.

(继承自 IClientChannelSinkProvider)

方法

CreateSink(IChannelSender, String, Object)

创建接收器链。Creates a sink chain.

(继承自 IClientChannelSinkProvider)

适用于