System.Runtime.Serialization.Configuration Namespace

The System.Runtime.Serialization.Configuration namespace contains classes used to read the values found in application configuration under system.xml.serialization section.

The classes in this namespace are used by the serialization infrastructure to handle the configuration elements and cannot be used directly. Instead, to configure the DataContractSerializer, create an application configuration file and use the following XML elements.

<system.xml.serialization>

<dataContractSerializer>

<declaredTypes>

<add> element for <declaredTypes>

<knownType> element

  ClassDescription
Public classDataContractSerializerSectionInfrastructure. Handles the XML elements used to configure serialization by the DataContractSerializer.
Public classDeclaredTypeElementInfrastructure. Handles the XML elements used to add known types that are used for serialization by the DataContractSerializer.
Public classDeclaredTypeElementCollectionInfrastructure. Handles the XML elements used to configure XML serialization using the DataContractSerializer.
Public classParameterElementInfrastructure. Handles the XML elements used to configure XML serialization by the DataContractSerializer.
Public classParameterElementCollectionInfrastructure. Handles the XML elements used to configure serialization by the DataContractSerializer.
Public classSerializationSectionGroupInfrastructure. Handles the XML elements used to configure serialization by the DataContractSerializer.
Public classTypeElementHandles the XML elements used to configure serialization by the DataContractSerializer.
Public classTypeElementCollectionInfrastructure. Handles the XML elements used to configure the known types used for serialization by the DataContractSerializer.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft