Export (0) Print
Expand All

BinaryServerFormatterSink Class

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

For a list of all members of this type, see BinaryServerFormatterSink Members.

System.Object
   System.Runtime.Remoting.Channels.BinaryServerFormatterSink

[Visual Basic]
Public Class BinaryServerFormatterSink
   Implements IServerChannelSink, IChannelSinkBase
[C#]
public class BinaryServerFormatterSink : IServerChannelSink,
   IChannelSinkBase
[C++]
public __gc class BinaryServerFormatterSink : public
   IServerChannelSink, IChannelSinkBase
[JScript]
public class BinaryServerFormatterSink implements
   IServerChannelSink, 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 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 the 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.

The following table shows the sink configuration properties that can be specified for the current sink provider.

Property Description
includeVersions true or false. Specifies whether the formatter will include versioning information.
strictBinding 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. The default for both system-provided formatters is false.
typeFilterLevel 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 Automatic Deserialization in .NET Remoting.

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, Windows Server 2003 family.

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

BinaryServerFormatterSink Members | System.Runtime.Remoting.Channels Namespace | Sinks and Sink Chains | BinaryServerFormatterSinkProvider | Automatic Deserialization in .NET Remoting

Show:
© 2015 Microsoft