StreamingContext Constructor (StreamingContextStates, Object^)
Initializes a new instance of the StreamingContext class with a given context state, and some additional information.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- state
-
Type:
System.Runtime.Serialization::StreamingContextStates
A bitwise combination of the StreamingContextStates values that specify the source or destination context for this StreamingContext.
- additional
-
Type:
System::Object^
Any additional information to be associated with the StreamingContext. This information is available to any object that implements ISerializable or any serialization surrogate. Most users do not need to set this parameter.
The following example creates an instance of the StreamingContext class using the state and additional parameters.
Available since 1.1
Silverlight
Available since 4.0