<dataContractSerializer>
Contém dados de configuração para o DataContractSerializer .Contains configuration data for the DataContractSerializer. Esse elemento ocorre em duas hierarquias diferentes.This element occurs in two different hierarchies. Uma é listada na seção hierarquia de esquema a seguir e a outra é listada na seção comentários.One is listed the following Schema Hierarchy section and the other is listed in the Remarks section.
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<dataContractSerializer>
SyntaxSyntax
<dataContractSerializer ignoreExtensionDataObject="Boolean"
maxItemsInObjectGraph="Integer" />
Atributos e elementosAttributes and Elements
As seções a seguir descrevem atributos, elementos filho e elementos pai.The following sections describe attributes, child elements, and parent elements.
AtributosAttributes
ElementoElement | DescriçãoDescription |
---|---|
ignoreExtensionDataObjectignoreExtensionDataObject | Um valor booliano que especifica se é para ignorar os dados fornecidos pelo ponto de extremidade quando ele está sendo serializado ou desserializado.A Boolean value that specifies whether to ignore data supplied by the endpoint when it is being serialized or deserialized. Esse atributo é configurável somente no <dataContractSerializer> <behavior> elemento abaixo.This attribute is settable only on the <dataContractSerializer> under the <behavior> element. |
maxItemsInObjectGraphmaxItemsInObjectGraph | Um inteiro que especifica o número máximo de itens a serem serializados ou desserializados.An integer that specifies the maximum number of items to serialize or deserialize. Esse atributo é 65536.This attribute is 65536. |
Elementos filhoChild Elements
Nenhum.None.
Elementos paiParent Elements
ElementoElement | DescriçãoDescription |
---|---|
<behavior> | Uma coleção de configurações para o comportamento de um serviço.A collection of settings for the behavior of a service. |
<system.runtime.serialization> | Representa o elemento raiz da System.Runtime.Serialization seção namespace e contém elementos para definir as opções do DataContractSerializer .Represents the root element for the System.Runtime.Serialization namespace section and contains elements for setting options of the DataContractSerializer. |
ComentáriosRemarks
Conforme indicado na introdução deste tópico, esta é a segunda hierarquia na qual o <X509Extension> elemento ocorre.As stated in the Introduction of this topic, this is the second hierarchy in which the <X509Extension> element occurs.
<system.runtime.serialization>
Para obter mais informações sobre tipos conhecidos, consulte DataContractSerializer .For more information about known types, see DataContractSerializer.