Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NetDataContractSerializer::Context Property

Gets or sets the object that enables the passing of context data that is useful while serializing or deserializing.

Namespace:  System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
virtual property StreamingContext Context {
	StreamingContext get () sealed;
	void set (StreamingContext value) sealed;
}

Property Value

Type: System.Runtime.Serialization::StreamingContext
A StreamingContext that contains the context data.

Implements

IFormatter::Context

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft