dataContractSerializer
Contains configuration data for the DataContractSerializer.
Schema Hierarchy
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior> of <endpointBehaviors>
dataContractSerializer
Syntax
<dataContractSerializer ignoreExtensionDataObject="Boolean"
maxItemsInObjectGraph="Integer" />
Attributes and Elements
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. |
maxItemsInObjectGraph |
An integer that specifies the maximum number of items to serialize or deserialize. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies an endpoint behavior. |
Remarks
See the DataContractSerializer documentation for more information about known types.
Caution: |
---|
The <dataContractSerializer> behavior element (if present) should always appear before the <enableWebScript> behavior element in the configuration file. Otherwise, the resulting behavior is undefined. |
See Also
Reference
DataContractSerializer
DataContractSerializerOperationBehavior
DataContractSerializerElement