Κοινή χρήση μέσω


KnownTypesResolver Class

 

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

Resolves known organization message request and response types for the SDK contracts.

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

Inheritance Hierarchy

System.Object
  System.Runtime.Serialization.DataContractResolver
    Microsoft.Xrm.Sdk.KnownTypesResolver

Syntax

public sealed class KnownTypesResolver : DataContractResolver
Public NotInheritable Class KnownTypesResolver
    Inherits DataContractResolver

Constructors

Name Description
System_CAPS_pubmethod KnownTypesResolver()

Initializes a new instance of the KnownTypesResolver class.

Properties

Name Description
System_CAPS_pubproperty ResolvedTypes

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ResolveName(String, String, Type, DataContractResolver)

Enables users to map a xsi:type name to any type.(Overrides DataContractResolver.ResolveName(String, String, Type, DataContractResolver).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryResolveType(Type, Type, DataContractResolver, XmlDictionaryString, XmlDictionaryString)

Maps any type to a new xsi:type representation.(Overrides DataContractResolver.TryResolveType(Type, Type, DataContractResolver, XmlDictionaryString, XmlDictionaryString).)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright