Object.getTimeOutTimerHandle Method

Returns the timer handle for the object.

public int getTimeOutTimerHandle()

Run On

Called

Return Value

The object's timer handle.

Remarks

The object's timer handle is set by calling Object.setTimeOut Method.

Example

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

Object Class