The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ProxyDataContractResolver::TryResolveType Method (Type^, Type^, DataContractResolver^, XmlDictionaryString^%, XmlDictionaryString^%)
.NET Framework (current version)
During serialization, maps actual types to xsi:type information.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: virtual bool TryResolveType( Type^ dataContractType, Type^ declaredType, DataContractResolver^ knownTypeResolver, [OutAttribute] XmlDictionaryString^% typeName, [OutAttribute] XmlDictionaryString^% typeNamespace ) override
Parameters
- dataContractType
-
Type:
System::Type^
The actual type of the persistence-ignorant object.
- declaredType
-
Type:
System::Type^
The declared type.
- knownTypeResolver
-
Type:
System.Runtime.Serialization::DataContractResolver^
An instance of ProxyDataContractResolver.
- typeName
-
Type:
System.Xml::XmlDictionaryString^%
When this method returns, contains a list of xsi:type declarations.
- typeNamespace
-
Type:
System.Xml::XmlDictionaryString^%
When this method returns, contains a list of namespaces used.
For more information, see: Working with POCO Entities.
.NET Framework
Available since 4.0
Available since 4.0
Show: