BinaryFormatter::Context Property

 

Gets or sets the StreamingContext for this formatter.

Namespace:   System.Runtime.Serialization.Formatters.Binary
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::StreamingContext

The streaming context to use with this formatter.

The 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
Return to top
Show: