Share via


WaitOne Method

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

Blocks the current thread until the current WaitHandle receives a signal.

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

Syntax

'Declaration
Public Overridable Function WaitOne As Boolean
public virtual bool WaitOne()
public:
virtual bool WaitOne()
abstract WaitOne : unit -> bool 
override WaitOne : unit -> bool 
public function WaitOne() : boolean

Return Value

Type: System. . :: . .Boolean
true if the current instance receives a signal. If the current instance is never signaled, WaitOne never returns.

.NET Framework Security

See Also

Reference

WaitHandle Class

WaitOne Overload

System.Threading Namespace