Export (0) Print
Expand All

<dataContractSerializer>

Contains configuration data for the DataContractSerializer.

<system.serviceModel>

  <behaviors>

    <serviceBehaviors>

      <behavior> of <serviceBehaviors>

        <dataContractSerializer>

          <system.runtime.serialization>


									
									<dataContractSerializer ignoreExtensionDataObject="Boolean"
								
									
									   maxItemsInObjectGraph="Boolean" />
								

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

Attributes

Element Description

ignoreExtensionDataObject

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.

maxItemsInObjectGraph

An integer that specifies the maximum number of items to serialize or deserialize. This attribute is settable only on the <dataContractSerializer> under the <behavior> element.

Child Elements

None.

Parent Elements

Element Description

<behavior> of <serviceBehaviors>

A collection of settings for the behavior of a service.

<system.runtime.serialization>

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.

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2015 Microsoft