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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.