The following example calls the Object.setTimeOut method, and then cancels the time-out.
void Object_cancelTimeOut(Args _args)
{
int th; // timerHandle.
// timedMethod is a worker method.
th = this.setTimeOut( "timedMethod", 2000 );
//....
// Remove timeOut later.
CancelTimeOut(th);
}