IFormatter.Context Property
.NET Framework (current version)
Gets or sets the StreamingContext used for serialization and deserialization.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext used for serialization and deserialization.
The value of this property is passed to any object implementing ISerializable or ISerializationSurrogate. The StreamingContext indicates the destination (during serialization) or the source (during deserialization) of the data. An object implementing ISerializable can alter the data that it transmits depending on value of the Context.
.NET Framework
Available since 1.1
Available since 1.1
Show: