StreamingContext Constructor (StreamingContextStates)

 
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.

Initializes a new instance of the StreamingContext class with a given context state.

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

public StreamingContext(
	StreamingContextStates state
)

Parameters

state
Type: System.Runtime.Serialization.StreamingContextStates

A bitwise combination of the StreamingContextStates values that specify the source or destination context for this StreamingContext.

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