Provides the implementation for a client formatter sink that uses the System.Runtime.Serialization.Formatters.Soap.SoapFormatter.
See Also: SoapClientFormatterSink Members
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 System.Runtime.Remoting.Messaging.IMessage is forwarded to all sinks in the channel sink chain through the IClientChannelSink.ProcessMessage(System.Runtime.Remoting.Messaging.IMessage, ITransportHeaders, System.IO.Stream, ITransportHeaders@, System.IO.Stream@) or IClientChannelSink.AsyncProcessRequest(IClientChannelSinkStack, System.Runtime.Remoting.Messaging.IMessage, ITransportHeaders, System.IO.Stream) 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 System.Runtime.Remoting.Messaging.IMessageSink and System.Runtime.Remoting.Channels.IClientChannelSink interfaces. The formatter sink can be placed in the sink chain later.
Specifies whether the formatter will include versioning information. Values are true or false.
Using an instance of this object with untrusted data or across an unsecure channel is a security risk. Use this object only with trusted data and across a secure channel. For more information, see tp://go.microsoft.com/fwlink/?LinkId=330378.