Sets or returns the StreamingContext used for this serialization. The StreamingContext is an indication of the source of the bits being deserialized or the destination of the bits being serialized. It has no impact on default serialization, but is passed as an argument to ISerializable and ISerializationSurrogate.
[Visual Basic] MustOverride Public Property Context As StreamingContext [C#] public StreamingContext Context {abstract get; abstract set;} [C++] public: __property virtual StreamingContext get_Context() = 0;public: __property virtual void set_Context(StreamingContext) = 0; [JScript] public abstract function get Context() : StreamingContext; public abstract function set Context(StreamingContext);
Formatter Class | Formatter Members | System.Runtime.Serialization Namespace