Represents a handle that has been registered when calling ThreadPool.RegisterWaitForSingleObject.
public class RegisteredWaitHandle { public boolean Unregister( WaitHandle waitObject ); }
Unregister. Cancels a registered wait operation issued by the ThreadPool. RegisterWaitForSingleObject function. Specifies the WaitHandle to be signaled when the function is successful and all callback functions have completed. If this parameter is NULL, the method returns immediately. If this method is –1, the function does not return until the event has been canceled and all associated callback functions have completed.