Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<dataContractSerializer> of <system.runtime.serialization>

Contains configuration data for the DataContractSerializer.

    <dataContractSerializer ignoreExtensionDataObject="Boolean"
        <add type="String">
          <knownType type="String">
             <parameter index="Integer"
                        type="String" />

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



Element Description


A Boolean value that specifies whether to ignore data supplied by the endpoint when it is being serialized or deserialized. This attribute is settable only on the <dataContractSerializer> under the <behavior> element.


An integer that specifies the maximum number of items to serialize or deserialize. This attribute is 65536.

Child Elements


Element Description


Contains the known types that the DataContractSerializer uses when deserializing.

For more information about data contracts and known types, see Data Contract Known Types.

Parent Elements


Element Description


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

For more information about known types, see DataContractSerializer and Data Contract Known Types.

Build Date:

© 2015 Microsoft