This topic has not yet been rated - Rate this topic

Object.getTimeOutTimerHandle Method

Returns the timer handle for the object.


public int getTimeOutTimerHandle()

Called

The object's timer handle.

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

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 );
}
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.