NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegisteredWaitHandle Reference

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.