SoapServerFormatterSink Class


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

Provides the implementation for a server formatter sink that uses the SoapFormatter.

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


type SoapServerFormatterSink = 
        interface IServerChannelSink
        interface IChannelSinkBase

System_CAPS_pubmethodSoapServerFormatterSink(SoapServerFormatterSink.Protocol, IServerChannelSink, IChannelReceiver)

Initializes a new instance of the SoapServerFormatterSink class.


Gets the next IServerChannelSink in the sink chain.


Gets a IDictionary of properties for the current channel sink.


Gets or sets the TypeFilterLevel value of automatic deserialization the SoapServerFormatterSink performs.

System_CAPS_pubmethodAsyncProcessResponse(IServerResponseChannelSinkStack, Object, IMessage, ITransportHeaders, Stream)

Requests processing from the current sink of the response from a method call sent asynchronously.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetResponseStream(IServerResponseChannelSinkStack, Object, IMessage, ITransportHeaders)

Returns the Stream onto which the provided response message is to be serialized.


Gets the Type of the current instance.(Inherited from Object.)


Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodProcessMessage(IServerChannelSinkStack, IMessage, ITransportHeaders, Stream, IMessage, ITransportHeaders, Stream)

Requests message processing from the current sink.


Returns a string that represents the current object.(Inherited from Object.)

The request stream propagates from the server transport sink through the server channel sinks until it reaches the appropriate formatter sink. The formatter sink deserializes the message and passes it through the pipeline. A special dispatch sink is inserted at the end of the channel sink chain by ChannelServices.CreateServerChannelSinkChain method, which is called by server channels to create the server channel sink chains. When the message reaches the dispatch sink, the dispatch sink passes the message to the remoting infrastructure.




Specifies whether the formatter will include versioning information. Values are true or false.


Indicates that a receiving formatter will first try to identify the type using complete version information if it exists before using only the type name and assembly name without version information. Values are true or false. The default for both system-provided formatters is false.


A string value specifying the level of automatic deserialization a server channel attempts. Supported values are Low (the default) and Full. For details about deserialization levels, see [<topic://cpconAutomaticDeserializationInNETRemoting>].

This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, and Windows Server 2003 family.

System_CAPS_security Security Note

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 Untrusted Data Security Risks.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

System.Runtime.Remoting.Channels Namespace

Return to top