IClientFormatterSinkProvider Interface

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

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

[ComVisibleAttribute(true)]
public interface IClientFormatterSinkProvider : IClientChannelSinkProvider

The IClientFormatterSinkProvider type exposes the following members.

  NameDescription
Public propertyNextGets or sets the next sink provider in the channel sink provider chain. (Inherited from IClientChannelSinkProvider.)
Top

  NameDescription
Public methodCreateSinkCreates a sink chain. (Inherited from IClientChannelSinkProvider.)
Top

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 [<topic://gnconremotingsettingsschema>].

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft