BinaryMessageFormatter Constructor (FormatterAssemblyStyle, FormatterTypeStyle)

 
System_CAPS_noteNote

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

Initializes a new instance of the BinaryMessageFormatter class, specifying the formats of the root object and the type descriptions.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public BinaryMessageFormatter(
	FormatterAssemblyStyle topObjectFormat,
	FormatterTypeStyle typeFormat
)

Parameters

topObjectFormat
Type: System.Runtime.Serialization.Formatters.FormatterAssemblyStyle

Determines how the top (root) object of a graph is laid out in the serialized stream.

typeFormat
Type: System.Runtime.Serialization.Formatters.FormatterTypeStyle

Determines how type descriptions are laid out in the serialized stream.

.NET Framework
Available since 1.1
Return to top
Show: