 | wclEventWaitHandleWaitOne(Int32) Method |
Blocks the current thread until the current event receives a signal,
using a 32-bit signed integer to specify the time interval in milliseconds.
Namespace: wclCommonAssembly: wclCommon (in wclCommon.dll) Version: 8.0.6.0
Syntaxpublic bool WaitOne(
int Timeout
)
Public Function WaitOne (
Timeout As Integer
) As Boolean
public:
bool WaitOne(
int Timeout
)
Parameters
- Timeout Int32
-
The number of milliseconds to wait, or Infinite (-1) to wait indefinitely.
Return Value
Boolean
Return
true if the current instance receives a signal; otherwise,
false.
See Also