DataContractResolver Class
May 02, 2013
Provides a mechanism for dynamically mapping types to and from xsi:type representations during serialization and deserialization.
Namespace:
System.Runtime.Serialization
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
The DataContractResolver type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataContractResolver | Initializes a new instance of the DataContractResolver class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ResolveName | Override this method to map the specified xsi:type name and namespace to a data contract type during deserialization. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryResolveType | Override this method to map a data contract type to an xsi:type name and namespace during serialization. |


Caution: