BinaryFormatter Members
.NET Framework 3.5
Serializes and deserializes an object, or an entire graph of connected objects, in binary format.
The BinaryFormatter type exposes the following members.
| Name | Description | |
|---|---|---|
|
BinaryFormatter | Overloaded. Initializes a new instance of the BinaryFormatter class. |
| Name | Description | |
|---|---|---|
|
Deserialize | Overloaded. Deserializes a stream into an object graph. |
|
DeserializeMethodResponse | Deserializes a response to a remote method call from the provided Stream. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Serialize | Overloaded. Serializes an object, or graph of connected objects, to the given stream. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UnsafeDeserialize | Deserializes the specified stream into an object graph. The provided HeaderHandler handles any headers in that stream. |
|
UnsafeDeserializeMethodResponse | Deserializes a response to a remote method call from the provided Stream. |
| Name | Description | |
|---|---|---|
|
AssemblyFormat | Gets or sets the behavior of the deserializer with regards to finding and loading assemblies. |
|
Binder | Gets or sets an object of type SerializationBinder that controls the binding of a serialized object to a type. |
|
Context | Gets or sets the StreamingContext for this formatter. |
|
FilterLevel | Gets or sets the TypeFilterLevel of automatic deserialization the BinaryFormatter performs. |
|
SurrogateSelector | Gets or sets a ISurrogateSelector that controls type substitution during serialization and deserialization. |
|
TypeFormat | Gets or sets the format in which type descriptions are laid out in the serialized stream. |