BinaryFormatter::Context Property
.NET Framework (current version)
Gets or sets the StreamingContext for this formatter.
Assembly: mscorlib (in mscorlib.dll)
public: property StreamingContext Context { virtual StreamingContext get() sealed; virtual void set(StreamingContext value) sealed; }
Property Value
Type: System.Runtime.Serialization::StreamingContextThe streaming context to use with this formatter.
Implements
IFormatter::ContextThe StreamingContext provides an enumeration that describes the source and the destination for a given serialized stream, as well as a way for serialization to retain that context and an additional caller-defined context.
.NET Framework
Available since 1.1
Available since 1.1
Show: