IServerFormatterSinkProvider Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public interface IServerFormatterSinkProvider : IServerChannelSinkProvider


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


Creates a sink chain.(Inherited from IServerChannelSinkProvider.)


Returns the channel data for the channel that the current sink is associated with.(Inherited from IServerChannelSinkProvider.)

A IServerFormatterSinkProvider creates server formatter sinks for the server channel through which remoting messages flow.

To use a <formatter> tag instead of a <provider> tag within a configuration file, the server channel sink provider must implement the IClientFormatterSinkProvider interface instead of 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