This documentation is archived and is not being maintained.
BinaryFormatter::Context Property
Visual Studio 2010
Gets or sets the StreamingContext for this formatter.
Assembly: mscorlib (in mscorlib.dll)
public: virtual property StreamingContext Context { StreamingContext get () sealed; 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: