[CLSCompliant(false)] |
Binder | Read-write When overridden in a derived class, gets or sets the SerializationBinder used with the current formatter. |
Context | Read-write When overridden in a derived class, gets or sets the StreamingContext used for the current serialization. |
SurrogateSelector | Read-write When overridden in a derived class, gets or sets the ISurrogateSelector used with the current formatter. |
Deserialize | When overridden in a derived class, deserializes the stream attached to the formatter when it was created, creating a graph of objects identical to the graph originally serialized into that stream. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
Serialize | When overridden in a derived class, serializes the graph of objects with the specified root to the stream already attached to the formatter. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. Initializes a new instance of the Formatter class. |
m_idGenerator | Contains the ObjectIDGenerator used with the current formatter. |
m_objectQueue | Contains a Queue of the objects left to serialize. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
GetNext | Returns the next object to serialize, from the formatter's internal work queue. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Schedule | Schedules an object for later serialization. |
WriteArray | When overridden in a derived class, writes an array to the stream already attached to the formatter. |
WriteBoolean | When overridden in a derived class, writes a Boolean value to the stream already attached to the formatter. |
WriteByte | When overridden in a derived class, writes an 8-bit unsigned integer to the stream already attached to the formatter. |
WriteChar | When overridden in a derived class, writes a Unicode character to the stream already attached to the formatter. |
WriteDateTime | When overridden in a derived class, writes a DateTime value to the stream already attached to the formatter. |
WriteDecimal | When overridden in a derived class, writes a Decimal value to the stream already attached to the formatter. |
WriteDouble | When overridden in a derived class, writes a double-precision floating-point number to the stream already attached to the formatter. |
WriteInt16 | When overridden in a derived class, writes a 16-bit signed integer to the stream already attached to the formatter. |
WriteInt32 | When overridden in a derived class, writes a 32-bit signed integer to the stream. |
WriteInt64 | When overridden in a derived class, writes a 64-bit signed integer to the stream. |
WriteMember | Inspects the type of data received, and calls the appropriate Write method to perform the write to the stream already attached to the formatter. |
WriteObjectRef | When overridden in a derived class, writes an object reference to the stream already attached to the formatter. |
WriteSByte | When overridden in a derived class, writes an 8-bit signed integer to the stream already attached to the formatter. |
WriteSingle | When overridden in a derived class, writes a single-precision floating-point number to the stream already attached to the formatter. |
WriteTimeSpan | When overridden in a derived class, writes a TimeSpan value to the stream already attached to the formatter. |
WriteUInt16 | When overridden in a derived class, writes a 16-bit unsigned integer to the stream already attached to the formatter. |
WriteUInt32 | When overridden in a derived class, writes a 32-bit unsigned integer to the stream already attached to the formatter. |
WriteUInt64 | When overridden in a derived class, writes a 64-bit unsigned integer to the stream already attached to the formatter. |
WriteValueType | When overridden in a derived class, writes a value of the given type to the stream already attached to the formatter. |
Hierarchy:
protected Formatter(); |
protected ObjectIDGenerator m_idGenerator;
|
protected Queue m_objectQueue;
|
public abstract SerializationBinder Binder {get; set;}
|
public abstract StreamingContext Context {get; set;}
|
public abstract ISurrogateSelector SurrogateSelector {get; set;}
|
serializationStream
~Formatter(); |
public virtual int GetHashCode(); |
objID
Exception Type | Condition |
---|---|
SerializationException | The next object retrieved from the work queue did not have an assigned ID. |
public Type GetType(); |
protected object MemberwiseClone(); |
obj
serializationStream
graph
public virtual string ToString(); |
obj
name
memberType
val
name
val
name
val
name
val
name
val
name
val
name
val
name
val
name
val
name
memberName
data
obj
name
memberType
val
name
val
name
val
name
val
name
val
name
val
name
obj
name
memberType