This documentation is archived and is not being maintained.

BinaryMessageFormatter Members

BinaryMessageFormatter overview

Public Constructors

public constructorBinaryMessageFormatter Constructor Overloaded. Initializes a new instance of the BinaryMessageFormatter class.

Public Properties

public propertyTopObjectFormat Gets or sets a value that defines how the top (root) object of a graph is laid out in the serialized stream.
public propertyTypeFormat Gets or sets a value that defines how type descriptions are laid out in the serialized stream.

Public Methods

public methodCanRead Determines whether the formatter can deserialize the contents of the message.
public methodClone Creates an instance of the BinaryMessageFormatter class whose read/write properties (the root object and type description formats) are the same as the current BinaryMessageFormatter.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodRead Reads the contents from the given message and creates an object containing the deserialized message.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodWrite Serializes an object into the body of the message.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BinaryMessageFormatter Class | System.Messaging Namespace