The properties of the Formatter class are listed below. For a complete list of Formatter class members, see the Formatter Members topic.
Binder | Sets or returns the SerializationBinder used with this formatter. The SerializationBinder performs lookups for the type from the type names passed during serialization. If no SerializationBinder is set, a default one is used. |
Context | Sets or returns the StreamingContext used for this serialization. The StreamingContext is an indication of the source of the bits being deserialized or the destination of the bits being serialized. It has no impact on default serialization, but is passed as an argument to ISerializable and ISerializationSurrogate. |
SurrogateSelector | Sets or returns the ISurrogateSelector used with this formatter. The SurrogateSelector is used to look up implementations of ISerializationSurrogate which may control the serialization of a particular type. |