SoapClientFormatterSink Class
Provides the implementation for a client formatter sink that uses the SoapFormatter.
For a list of all members of this type, see SoapClientFormatterSink Members.
System.Object
System.Runtime.Remoting.Channels.SoapClientFormatterSink
[Visual Basic] Public Class SoapClientFormatterSink Implements IClientFormatterSink, IMessageSink, _ IClientChannelSink, IChannelSinkBase [C#] public class SoapClientFormatterSink : IClientFormatterSink, IMessageSink, IClientChannelSink, IChannelSinkBase [C++] public __gc class SoapClientFormatterSink : public IClientFormatterSink, IMessageSink, IClientChannelSink, IChannelSinkBase [JScript] public class SoapClientFormatterSink 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 reaching the formatter sink, the IMessage is forwarded to all sinks in the channel sink 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 need to be placed in the sink chain before the formatter. This can be achieved by implementing both the IMessageSink and IClientChannelSink interfaces. The formatter sink can be placed in the sink chain later.
| 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
SoapClientFormatterSink Members | System.Runtime.Remoting.Channels Namespace | Sinks and Sink Chains | SoapClientFormatterSinkProvider