ManualResetEventSlim Constructor (Boolean)

Task Parallel System.Threading

Initializes a new instance of the ManualResetEventSlim class with a Boolen value indicating whether to set the intial state to signaled.

Namespace:  System.Threading
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	initialState As Boolean _
)
C#
public ManualResetEventSlim(
	bool initialState
)

Parameters

initialState
Type: System..::.Boolean
true to set the initial state signaled; false to set the initial state to nonsignaled.

See Also