ManualResetEvent.Set Method

Definition

Sets the state of the event to signaled, which allows one or more waiting threads to proceed.

C#
public bool Set();

Returns

true if the operation succeeds; otherwise, false.

Remarks

Calling the Set method leaves the wait handle in a signaled state until the Reset() method is called.

Applies to

Product Versions
.NET Framework 1.1