System.Runtime.Serialization.IFormatter.Context Property

Gets or sets the System.Runtime.Serialization.StreamingContext used for serialization and deserialization.

Syntax

public StreamingContext Context { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of this property is passed to any object implementing System.Runtime.Serialization.ISerializable or System.Runtime.Serialization.ISerializationSurrogate. The System.Runtime.Serialization.StreamingContext indicates the destination (during serialization) or the source (during deserialization) of the data. An object implementing System.Runtime.Serialization.ISerializable can alter the data that it transmits depending on value of the IFormatter.Context.

Requirements

Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0