mscorlib(4.0.0.0) API with additions
|
Classes | |
class | Formatter |
Provides base functionality for the common language runtime serialization formatters. More... | |
class | FormatterConverter |
Represents a base implementation of the T:System.Runtime.Serialization.IFormatterConverter interface that uses the T:System.Convert class and the T:System.IConvertible interface. More... | |
class | FormatterServices |
Provides static methods to aid with the implementation of a T:System.Runtime.Serialization.Formatter for serialization. This class cannot be inherited. More... | |
interface | IDeserializationCallback |
Indicates that a class is to be notified when deserialization of the entire object graph has been completed. Note that this interface is not called when deserializing with the XmlSerializer (System.Xml.Serialization.XmlSerializer). More... | |
interface | IFormatter |
Provides functionality for formatting serialized objects. More... | |
interface | IFormatterConverter |
Provides the connection between an instance of T:System.Runtime.Serialization.SerializationInfo and the formatter-provided class best suited to parse the data inside the T:System.Runtime.Serialization.SerializationInfo. More... | |
interface | IObjectReference |
Indicates that the current interface implementer is a reference to another object. More... | |
interface | ISafeSerializationData |
Enables serialization of custom exception data in security-transparent code. More... | |
interface | ISerializable |
Allows an object to control its own serialization and deserialization. More... | |
interface | ISerializationSurrogate |
Implements a serialization surrogate selector that allows one object to perform serialization and deserialization of another. More... | |
interface | ISurrogateSelector |
Indicates a serialization surrogate selector class. More... | |
class | ObjectIDGenerator |
Generates IDs for objects. More... | |
class | ObjectManager |
Keeps track of objects as they are deserialized. More... | |
class | 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. More... | |
class | 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. More... | |
class | 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. More... | |
class | 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. More... | |
class | OptionalFieldAttribute |
Specifies that a field can be missing from a serialization stream so that the T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter and the T:System.Runtime.Serialization.Formatters.Soap.SoapFormatter does not throw an exception. More... | |
class | SafeSerializationEventArgs |
Provides data for the E:System.Exception.SerializeObjectState event. More... | |
class | SerializationBinder |
Allows users to control class loading and mandate what class to load. More... | |
struct | SerializationEntry |
Holds the value, T:System.Type, and name of a serialized object. More... | |
class | SerializationException |
The exception thrown when an error occurs during serialization or deserialization. More... | |
class | SerializationInfo |
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited. More... | |
class | SerializationInfoEnumerator |
Provides a formatter-friendly mechanism for parsing the data in T:System.Runtime.Serialization.SerializationInfo. This class cannot be inherited. More... | |
class | SerializationObjectManager |
Manages serialization processes at run time. This class cannot be inherited. More... | |
struct | StreamingContext |
Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. More... | |
class | SurrogateSelector |
Assists formatters in selection of the serialization surrogate to delegate the serialization or deserialization process to. More... | |
Enumerations | |
enum | StreamingContextStates { StreamingContextStates.CrossProcess = 0x1, StreamingContextStates.CrossMachine = 0x2, StreamingContextStates.File = 0x4, StreamingContextStates.Persistence = 0x8, StreamingContextStates.Remoting = 0x10, StreamingContextStates.Other = 0x20, StreamingContextStates.Clone = 0x40, StreamingContextStates.CrossAppDomain = 0x80, StreamingContextStates.All = 0xFF } |
Defines a set of flags that specifies the source or destination context for the stream during serialization. More... | |
Functions | |
internal delegate void | DeserializationEventHandler (object sender) |
internal delegate void | SerializationEventHandler (StreamingContext context) |
Defines a set of flags that specifies the source or destination context for the stream during serialization.
Enumerator | |
---|---|
CrossProcess | Specifies that the source or destination context is a different process on the same computer. |
CrossMachine | Specifies that the source or destination context is a different computer. |
File | Specifies that the source or destination context is a file. Users can assume that files will last longer than the process that created them and not serialize objects in such a way that deserialization will require accessing any data from the current process. |
Persistence | Specifies that the source or destination context is a persisted store, which could include databases, files, or other backing stores. Users can assume that persisted data will last longer than the process that created the data and not serialize objects so that deserialization will require accessing any data from the current process. |
Remoting | Specifies that the data is remoted to a context in an unknown location. Users cannot make any assumptions whether this is on the same computer. |
Other | Specifies that the serialization context is unknown. |
Clone | Specifies that the object graph is being cloned. Users can assume that the cloned graph will continue to exist within the same process and be safe to access handles or other references to unmanaged resources. |
CrossAppDomain | Specifies that the source or destination context is a different AppDomain. (For a description of AppDomains, see Application Domains). |
All | Specifies that the serialized data can be transmitted to or received from any of the other contexts. |
Definition at line 9 of file StreamingContextStates.cs.