ManualResetEvent.Set ManualResetEvent.Set ManualResetEvent.Set ManualResetEvent.Set Method

Definition

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

public:
 bool Set();
public bool Set ();
member this.Set : unit -> bool
Public Function Set () As Boolean

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