StreamingContext Constructor (StreamingContextStates, Object)

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, and some additional information.

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

Syntax

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

Parameters

  • 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.

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.