Partager via


KnownTypesResolver Class

Definition

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

public ref class KnownTypesResolver sealed : System::Runtime::Serialization::DataContractResolver
public sealed class KnownTypesResolver : System.Runtime.Serialization.DataContractResolver
type KnownTypesResolver = class
    inherit DataContractResolver
Public NotInheritable Class KnownTypesResolver
Inherits DataContractResolver
Inheritance
KnownTypesResolver

Constructors

KnownTypesResolver()

Initializes a new instance of the KnownTypesResolver class.

Fields

CrmContracts2011
MicrosoftSerialization2003slash10
MicrosoftSerialization2003slash10Arrays
W3XmlSchema2011
XrmContracts2011
XrmContracts7dot1
XrmMetadata2011
XrmMetadata2013
XrmMetadata9

Properties

ResolvedTypes

Methods

ResolveName(String, String, Type, DataContractResolver)

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

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

Maps any type to a new xsi:type representation.

Applies to