Export (0) Print
Expand All

IClientFormatterSinkProvider Interface

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

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

type IClientFormatterSinkProvider =  
        interface 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.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft