This documentation is archived and is not being maintained.

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 : IClientChannelSinkProvider

The IClientFormatterSinkProvider type exposes the following members.

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

Public methodCreateSinkCreates 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 [<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, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.