mscorlib(4.0.0.0) API with additions
SerializationBinder.cs
2 
4 {
7  [ComVisible(true)]
8  public abstract class SerializationBinder
9  {
14  public virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
15  {
16  assemblyName = null;
17  typeName = null;
18  }
19 
24  public abstract Type BindToType(string assemblyName, string typeName);
25  }
26 }
Allows users to control class loading and mandate what class to load.
Definition: __Canon.cs:3
virtual void BindToName(Type serializedType, out string assemblyName, out string typeName)
When overridden in a derived class, controls the binding of a serialized object to a type.
abstract Type BindToType(string assemblyName, string typeName)
When overridden in a derived class, controls the binding of a serialized object to a type.
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
Specifies that the class can be serialized.