Click or drag to resize

XmlSerializationSurrogateForAttribute Constructor

Overload List
 NameDescription
Public methodXmlSerializationSurrogateForAttribute(Type, Int32) Initializes a new instance of the XmlSerializationSurrogateForAttribute class. The class this attribute is applied to provides a serialization surrogate for the specified serializationtype, version version.
Public methodXmlSerializationSurrogateForAttribute(String, String, Int32) Initializes a new instance of the XmlSerializationSurrogateForAttribute class. Use this constructor when the target type is deprecated and the original type is no longer available. In that case the class this attribute is applied to is responsible for deserialization of the deprecated type identified by the assembly and type name.
Top
See Also