Object.getTimeOutTimerHandle Method

Returns the timer handle for the object.

Syntax

public int getTimeOutTimerHandle()

Run On

Called

Return Value

Type: int
The timer handle of the object.

Remarks

The timer handle of the object is set by calling the setTimeOut method.

Examples

The following example sets a timeout, and then cancels it.

public void myJob() 
{ 
    int timerHandle = 0; 
 
    this.setTimeOut(identifierstr(workerFunction), 0); 
 
    //Perform some operations. 
 
    timerHandle = this.getTimeOutTimerHandle(); 
    this.cancelTimeOut( timerHandle ); 
}

See Also

Reference

Object Class