KnownTypesResolverResolveName Method

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Enables users to map a xsi:type name to any type.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

No code example is currently available or this language may not be supported.

Parameters

typeName
Type:

String. The xsi:type name to map.

typeNamespace
Type:

String. The xsi:type namespace to map.

declaredType
Type:

Type. The type declared in the data contract.

knownTypeResolver
Type:

System.Runtime.Serialization.DataContractResolver. The known type resolver.

Return Value

Type:

Type: Type
The type the xsi:type name and namespace is mapped to.

For information on this method, refer to the DataContractResolver class.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: