StreamingContext::Context Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets context specified as part of the additional context.

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

public:
property Object^ Context {
	Object^ get();
}

Property Value

Type: System::Object^

The context specified as part of the additional context.

Can be null.

The following example creates an instance of the StreamingContext class using the state and additional parameters. The code also shows the deserialization of an object and retrieving the value of the Context property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: