DataContractResolver Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides a mechanism for dynamically mapping types to and from xsi:type representations during serialization and deserialization.
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. |
Show:


Caution: