Export (0) Print
Expand All

StreamingContext Constructor (StreamingContextStates, Object)

Initializes a new instance of the StreamingContext class with a given context state, and some additional information.

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

'Declaration
Public Sub New ( _
	state As StreamingContextStates, _
	additional As Object _
)

Parameters

state
Type: System.Runtime.Serialization.StreamingContextStates
A bitwise combination of the StreamingContextStates values that specifies 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.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft