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.Unregister

Cancels a registered wait operation issued by the TBD 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.

[Visual Basic]
Public Function Unregister( _
   ByVal waitObject As WaitHandle _
) As Boolean
[C#]
public bool Unregister(
   WaitHandle waitObject
);
[C++]
public: bool Unregister(
   WaitHandle* waitObject
);
[JScript]
public function Unregister(
   waitObject : WaitHandle
) : Boolean;

Parameters

waitObject
WaitHandle to be signaled.

Return Value

True If the function succeeds; otherwise, False;

See Also

RegisteredWaitHandle Class | RegisteredWaitHandle Members | System.Threading Namespace