This documentation is archived and is not being maintained.

StreamingContext Constructor (StreamingContextStates)

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
)
public StreamingContext (
	StreamingContextStates state
)
public function StreamingContext (
	state : StreamingContextStates
)

Parameters

state

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

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: