Click to Rate and Give Feedback
MSDN
MSDN Library
Microsoft Dynamics
Reference
Classes
Object Class
 Object.notify Method
Collapse All/Expand All Collapse All
Microsoft Dynamics AX 2009
Object.notify Method

Releases the hold on an object that has called a wait method on this object.

public void notify()

Called

The following example locks an object and then releases it.

public void doWork()
{
    // Perform some actions.

    this.setTimeOut(identifierstr(workerFunction), 0);
    this.wait(); // Lock and wait for notify to be called.
}

public void workerFunction()
{
    // Perform some actions.

    // Work is done; unlock the doWork method.
    this.notify();
}
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker