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!

Timer.Dispose (WaitHandle)

Deletes the timer from the time queue.

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

Parameters

notifyObject
Specifies the WaitHandle to be signaled when the method is successful and all delegates have completed. If this parameter is a null reference (in Visual Basic Nothing), the method returns immediately. If this function is-1, the method returns after the WaitHandle has been canceled and all associated delegates have completed.

Return Value

True if the function succeeds; otherwise, false.

Remarks

When complete, it signals the WaitHandle specified by notifyObject.

See Also

Timer Class | Timer Members | System.Threading Namespace | Timer.Dispose Overload List