Share via


Set Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Function Set As Boolean
public bool Set()
public:
bool Set()
member Set : unit -> bool 
public function Set() : boolean

Return Value

Type: System. . :: . .Boolean
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.

.NET Framework Security

See Also

Reference

ManualResetEvent Class

System.Threading Namespace