This formatter uses a binary format
to
serialize or deserialize a single object or an object graph.
public sealed class BinaryFormatter : System.Runtime.Remoting.Messaging.IRemotingFormatter,
System.Runtime.Serialization.IFormatter {
// Public Constructors
public BinaryFormatter( );
public BinaryFormatter(System.Runtime.Serialization.ISurrogateSelector selector,
System.Runtime.Serialization.StreamingContext context);
// Public Instance Properties
public FormatterAssemblyStyle AssemblyFormat{set; get; }
public SerializationBinder Binder{set; get; }
// implements System.Runtime.Serialization.IFormatter
public StreamingContext Context{set; get; }
// implements System.Runtime.Serialization.IFormatter
public TypeFilterLevel FilterLevel{set; get; }
public ISurrogateSelector SurrogateSelector{set; get; }
// implements System.Runtime.Serialization.IFormatter
public FormatterTypeStyle TypeFormat{set; get; }
// Public Instance Methods
public object Deserialize(System.IO.Stream serializationStream)
// implements System.Runtime.Serialization.IFormatter
public object Deserialize(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler);
// implements System.Runtime.Remoting.Messaging.IRemotingFormatter
public object DeserializeMethodResponse(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler,
System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage);
public void Serialize(System.IO.Stream serializationStream, object graph);
// implements System.Runtime.Serialization.IFormatter
public void Serialize(System.IO.Stream serializationStream, object graph,
System.Runtime.Remoting.Messaging.Header[ ] headers);
// implements System.Runtime.Remoting.Messaging.IRemotingFormatter
public object UnsafeDeserialize(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler);
public object UnsafeDeserializeMethodResponse(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler,
System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage);
}