Export (0) Print
Expand All

<system.runtime.serialization>

Represents the root element for the System.Runtime.Serialization namespace section and contains elements for setting options of the DataContractSerializer.


<configuration>
  <system.runtime.serialization>
    <dataContractSerializer ignoreExtensionDataObject="Boolean"
      maxItemsInObjectGraph="Integer">
      <declaredTypes>
        <add type="String ">
          <knownType type="String">
             <parameter index="Integer"/>
          </knownType>
        </add>
      </declaredTypes>
    <dataContractSerializer>
  </system.runtime.serialization>
</configuration>

The following sections describe attributes, child elements, and parent elements

Attributes

None.

Child Elements

Element Description

<dataContractSerializer> of <system.runtime.serialization>

Enables addition of known types to be used when deserialization.

Parent Elements

Element Description

<configuration>

The top level element for configuration.

Community Additions

ADD
Show:
© 2014 Microsoft