DataContractResolver.ResolveName Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Override this method to map the specified xsi:type name and namespace to a data contract type during deserialization.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
public abstract Type ResolveName( string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver )
Parameters
- typeName
- Type: System.String
The xsi:type name to map.
- typeNamespace
- Type: System.String
The xsi:type namespace to map.
- declaredType
- Type: System.Type
The type declared in the data contract.
- knownTypeResolver
- Type: System.Runtime.Serialization.DataContractResolver
The known type resolver.
Show: