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

Remarks

 

Classes

TypeReason
DataContractSerializerSection

Handles the XML elements used to configure serialization by the DataContractSerializer.

DeclaredTypeElement

Handles the XML elements used to add known types that are used for serialization by the DataContractSerializer.

DeclaredTypeElementCollection

Handles the XML elements used to configure XML serialization using the DataContractSerializer.

ParameterElement

Handles the XML elements used to configure XML serialization by the DataContractSerializer.

ParameterElementCollection

Handles the XML elements used to configure serialization by the DataContractSerializer.

SerializationSectionGroup

Handles the XML elements used to configure serialization by the DataContractSerializer.

TypeElement

Handles the XML elements used to configure serialization by the DataContractSerializer.

TypeElementCollection

Handles the XML elements used to configure the known types used for serialization by the DataContractSerializer.