This documentation is archived and is not being maintained.

<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.


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05
Show: