Deli z drugimi prek


KnownTypesResolver Class

 

Applies To: Dynamics CRM 2015

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 ref class KnownTypesResolver sealed : DataContractResolver
[<Sealed>]
type KnownTypesResolver = 
    class
        inherit DataContractResolver
    end
Public NotInheritable Class KnownTypesResolver
    Inherits DataContractResolver

Constructors

Name Description
System_CAPS_pubmethod KnownTypesResolver()

Initializes a new instance of the KnownTypesResolver class.

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

© 2016 Microsoft. All rights reserved. Copyright