System.Runtime.Serialization.StreamingContext Structure

Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

See Also: StreamingContext Members


public struct StreamingContext


Indicates the source or destination of the bits that the formatter uses. Classes with surrogates or that implement System.Runtime.Serialization.ISerializable can serialize or ignore fields and values based on the information stored in the streaming context. For example, a window handle is still valid if the StreamingContext.State property is set to System.Runtime.Serialization.StreamingContextStates.CrossProcess.


Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,