ThreadPool::RegisterWaitForSingleObject Method

 

Registers a delegate that is waiting for a WaitHandle.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticRegisterWaitForSingleObject(WaitHandle^, WaitOrTimerCallback^, Object^, Int32, Boolean)

Registers a delegate to wait for a WaitHandle, specifying a 32-bit signed integer for the time-out in milliseconds.

System_CAPS_pubmethodSystem_CAPS_staticRegisterWaitForSingleObject(WaitHandle^, WaitOrTimerCallback^, Object^, Int64, Boolean)

Registers a delegate to wait for a WaitHandle, specifying a 64-bit signed integer for the time-out in milliseconds.

System_CAPS_pubmethodSystem_CAPS_staticRegisterWaitForSingleObject(WaitHandle^, WaitOrTimerCallback^, Object^, TimeSpan, Boolean)

Registers a delegate to wait for a WaitHandle, specifying a TimeSpan value for the time-out.

System_CAPS_pubmethodSystem_CAPS_staticRegisterWaitForSingleObject(WaitHandle^, WaitOrTimerCallback^, Object^, UInt32, Boolean)

Registers a delegate to wait for a WaitHandle, specifying a 32-bit unsigned integer for the time-out in milliseconds.

Return to top
Show: