IClientFormatterSinkProvider Interface
Marks a client channel sink provider as a client formatter sink provider.
System.Runtime.Remoting.Channels.IClientChannelSinkProvider
System.Runtime.Remoting.Channels.IClientFormatterSinkProvider
[Visual Basic] Public Interface IClientFormatterSinkProvider Inherits IClientChannelSinkProvider [C#] public interface IClientFormatterSinkProvider : IClientChannelSinkProvider [C++] public __gc __interface IClientFormatterSinkProvider : public IClientChannelSinkProvider [JScript] public interface IClientFormatterSinkProvider implements IClientChannelSinkProvider
Classes that Implement IClientFormatterSinkProvider
| Class | Description |
|---|---|
| BinaryClientFormatterSinkProvider | Provides the implementation for the binary client formatter sink provider. |
| SoapClientFormatterSinkProvider | Provides the implementation for a client formatter sink provider. |
Remarks
An 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.
Note 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 on remoting configuration, see Channel and Formatter Configuration Properties and Remoting Settings Schema.
Some formatter sink implementations use Runtime 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).
Example
Requirements
Namespace: System.Runtime.Remoting.Channels
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)