BinaryClientFormatterSink Class
Provides the implementation for a client formatter sink that uses the BinaryFormatter.
For a list of all members of this type, see BinaryClientFormatterSink Members.
System.Object
System.Runtime.Remoting.Channels.BinaryClientFormatterSink
[Visual Basic] Public Class BinaryClientFormatterSink Implements IClientFormatterSink, IMessageSink, _ IClientChannelSink, IChannelSinkBase [C#] public class BinaryClientFormatterSink : IClientFormatterSink, IMessageSink, IClientChannelSink, IChannelSinkBase [C++] public __gc class BinaryClientFormatterSink : public IClientFormatterSink, IMessageSink, IClientChannelSink, IChannelSinkBase [JScript] public class BinaryClientFormatterSink implements IClientFormatterSink, IMessageSink, IClientChannelSink, IChannelSinkBase
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The function of the formatter sink is to generate the necessary headers and serialize the message to the stream. After the formatter sink, the IMessage is forwarded to all sinks in the chain through the ProcessMessage or AsyncProcessRequest calls. At this stage the message has already been serialized and is provided as information only. Sinks that need to create or modify the message must be placed in the sink chain before the formatter. This is easily achieved by implementing the IClientFormatterSink interface, which gives the impression of having a reference to the formatter sink. The real formatter sink can then be placed later in the sink chain.
| Property | Description |
|---|---|
| includeVersions | true or false. Specifies whether the formatter will include versioning information. |
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: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
See Also
BinaryClientFormatterSink Members | System.Runtime.Remoting.Channels Namespace | Sinks and Sink Chains