System.Runtime.Remoting.Channels.IClientFormatterSinkProvider

Marks a client channel sink provider as a client formatter sink provider.

See Also: IClientFormatterSinkProvider Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IClientFormatterSinkProvider : IClientChannelSinkProvider

Remarks

A System.Runtime.Remoting.Channels.IClientFormatterSinkProvider creates client formatter sinks for the client channel through which remoting messages flow. The first sink on the client side must implement both the System.Runtime.Remoting.Messaging.IMessageSink and System.Runtime.Remoting.Channels.IClientChannelSink interfaces, or the System.Runtime.Remoting.Channels.IClientFormatterSink interface.

To use a <formatter> tag instead of a <provider> tag within a configuration file, the client channel sink provider must implement the System.Runtime.Remoting.Channels.IClientFormatterSinkProvider interface instead of merely System.Runtime.Remoting.Channels.IClientChannelSinkProvider. For additional information about remoting configuration, see [<topic://cpconchannelformatterconfigurationproperties>] and [<topic://gnconremotingsettingsschema>].

Some formatter sink implementations use run-time formatters (System.Runtime.Serialization.Formatters.Binary.BinaryFormatter and System.Runtime.Serialization.Formatters.Soap.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).

Requirements

Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0