我工作的AX 4.0setTimeout和局部功能
我想在工作中使用Object.setTimeOut方法具有局部功能,如msdn documentation :
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);
}
陈述但是这个简单的工作不会产生任何东西,所以看起来我在这里错过了一些东西。
有人曾与此?
回答更新。 – 2012-07-10 15:27:37
优秀的答案! – 2012-07-10 15:58:14