Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System.Runtime.Serialization.Configuration Namespace
Collapse the table of content
Expand the table of content

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.

Community Additions

ADD
Show:
© 2015 Microsoft