setTimeOut and local function
I'm working on Ax 4.0

I'm trying to use the Object.setTimeOut method in a job with a local function, as stated in the [msdn documentation :][1]




    static void setTimeOutJob()
    {
        Object o = new Object();
    
        void printText()
        {
            ;
            info( "2 seconds has elapsed since the user did anything" );
        }
    
        // Set a Time Out with the idle flag set to false
        o.setTimeOut(identifierstr(printText), 2000, false);
    }


But this simple job doesn't produce anything, so it seems I'm missing something here.

Has someone worked with this ?
  [1]: http://msdn.microsoft.com/en-US/library/aa857865%28v=ax.10%29
setTimeOut and local function
===

I'm working on Ax 4.0

I'm trying to use the Object.setTimeOut method in a job with a local function, as stated in the [msdn documentation :][1]




    static void setTimeOutJob()
    {
        Object o = new Object();
    
        void printText()
        {
            ;
            info( "2 seconds has elapsed since the user did anything" );
        }
    
        // Set a Time Out with the idle flag set to false
        o.setTimeOut(identifierstr(printText), 2000, false);
    }


But this simple job doesn't produce anything, so it seems I'm missing something here.

Has someone worked with this ?
  [1]: http://msdn.microsoft.com/en-US/library/aa857865%28v=ax.10%29