StreamingContext Constructor (StreamingContextStates)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Initializes a new instance of the StreamingContext class with a given context state.
Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Sub New ( _
state As StreamingContextStates _
)
public StreamingContext(
StreamingContextStates state
)
Parameters
- state
Type: System.Runtime.Serialization.StreamingContextStates
A bitwise combination of the StreamingContextStates values that specifies the source or destination context for this StreamingContext.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.