description | title | ms.date | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|
Learn more about: <dataContractSerializer> |
<dataContractSerializer> |
03/30/2017 |
|
f41fb4d5-24e7-4059-8010-286a30bfea93 |
Contains configuration data for the xref:System.Runtime.Serialization.DataContractSerializer. This element occurs in two different hierarchies. One is listed the following Schema Hierarchy section and the other is listed in the Remarks section.
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<dataContractSerializer>
<dataContractSerializer ignoreExtensionDataObject="Boolean"
maxItemsInObjectGraph="Integer" />
The following sections describe attributes, child elements, and parent elements.
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 65536. |
None.
Element | Description |
---|---|
<behavior> | A collection of settings for the behavior of a service. |
<system.runtime.serialization> | Represents the root element for the xref:System.Runtime.Serialization namespace section and contains elements for setting options of the xref:System.Runtime.Serialization.DataContractSerializer. |
As stated in the Introduction of this topic, this is the second hierarchy in which the <X509Extension> element occurs.
<system.runtime.serialization>
For more information about known types, see xref:System.Runtime.Serialization.DataContractSerializer.
- xref:System.Runtime.Serialization.DataContractSerializer
- xref:System.ServiceModel.Description.DataContractSerializerOperationBehavior
- xref:System.ServiceModel.Configuration.DataContractSerializerElement
- Data Contract Known Types
- Data Transfer and Serialization