IClientFormatterSinkProvider Interface


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

Namespace:   System.Runtime.Remoting.Channels
Assembly:  mscorlib (in mscorlib.dll)

Public Interface IClientFormatterSinkProvider
	Inherits IClientChannelSinkProvider


Gets or sets the next sink provider in the channel sink provider chain.(Inherited from IClientChannelSinkProvider.)

System_CAPS_pubmethodCreateSink(IChannelSender, String, Object)

Creates a sink chain.(Inherited from IClientChannelSinkProvider.)

A 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 IMessageSink and IClientChannelSink interfaces, or the IClientFormatterSink interface.

To 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 [<topic://cpconchannelformatterconfigurationproperties>] and Remoting Settings Schema.

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

.NET Framework
Available since 1.1
Return to top