
Assists formatters in selection of the serialization surrogate to delegate the serialization or deserialization process to.
Assembly: mscorlib (in mscorlib.dll)
A serialization surrogate gives the users an object that can handle the serialization requirements of a different object and can transform the serialized data if necessary.
The following code example shows how to make a serialization surrogate class that knows how to properly serialize or deserialize a class that is not itself serializable. In addition, this example also shows how to recover from a SerializationException.
System.Runtime.Serialization.SurrogateSelector
System.Workflow.ComponentModel.Serialization.ActivitySurrogateSelector
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.