System.Runtime.Serialization
Namespace with 14 public types
Classes
CollectionDataContractAttribute
When applied to a collection type, enables custom specification of the collection item elements. This attribute can be applied only to types that are recognized by the as valid, serializable collections.
ContractNamespaceAttribute
Specifies the CLR namespace and XML namespace of the data contract.
DataContractAttribute
Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the . To make their type serializable, type authors must define a data contract for their type.
DataMemberAttribute
When applied to the member of a type, specifies that the member is part of a data contract and is serializable by the .
EnumMemberAttribute
Specifies that the field is an enumeration member and should be serialized.
IgnoreDataMemberAttribute
When applied to the member of a type, specifies that the member is not part of a data contract and is not serialized.
InvalidDataContractException
The exception that is thrown when the or encounters an invalid data contract during serialization and deserialization.
KnownTypeAttribute
Specifies types that should be recognized by the when serializing or deserializing a given type.
OnDeserializedAttribute
When applied to a method, specifies that the method is called immediately after deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.
OnDeserializingAttribute
When applied to a method, specifies that the method is called during deserialization of an object in an object graph. The order of deserialization relative to other objects in the graph is non-deterministic.
OnSerializedAttribute
When applied to a method, specifies that the method is called after serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.
OnSerializingAttribute
When applied to a method, specifies that the method is during serialization of an object in an object graph. The order of serialization relative to other objects in the graph is non-deterministic.
SerializationException
The exception thrown when an error occurs during serialization or deserialization.
Structures
StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.