XppPrePostArgs Class
The XppPrePostArgs class provides information about a publisher's arguments and return values for pre-handlers and post-handlers.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
class XppPrePostArgs extends Object
Microsoft Dynamics AX 2012 R2 (SYS)
class XppPrePostArgs extends Object
Microsoft Dynamics AX 2012 Feature Pack (SYS)
class XppPrePostArgs extends XppEventArgs
Microsoft Dynamics AX 2012 (FPK)
class XppPrePostArgs extends XppEventArgs
Microsoft Dynamics AX 2012 (SYS)
class XppPrePostArgs extends XppEventArgs
Run On
Called
Methods
Method | Description | |
---|---|---|
addArg | Adds the name and value of the publisher's argument to the XppPrePostArgs instance. | |
allowSetReturn | Allows or disallows setting the publisher's return value. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
existsArg | Checks the existence of the publisher's argument by name. | |
getArg | Retrieves the publisher's argument by name. | |
getArgNum | Retrieves the ;publisher's argument by index. | |
getCalledWhen | Retrieves a value that indicates whether the instance is currently serving a pre-handler or a post-handler. | |
getReturnValue | Gets the publisher's return value. | |
getThis | Gets the publisher's "this" reference. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
isSetReturnAllowed | Checks whether setting the publisher's return value is allowed. | |
new | Initializes a new instance of the Object class. (Overrides the new Method.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
reset | Resets the XppPrePostArgs instance by erasing all its information about the publisher's arguments and return value. | |
setAddress | Passes the publisher's variable bank address to the XppPrePostArgs instance for direct access. | |
setArg | Sets the publisher's argument by name. | |
setArgNum | Sets the publisher's argument by index. | |
setCalledWhen | Sets whether the instance is currently serving a pre-handler or a post-handler. | |
setReturnValue | Sets the publisher's return value. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
updateTableArgs | Updates publisher arguments or a return value of table type. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
usingCopy | Checks whether the current XppPrePostArgs instance is copying the publisher's arguments and return value into a separate storage (as opposed to accessing them directly). | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::setReturnValueStatic | Is a static method that sets the publisher's return value by using a specified instance of the XppPrePostArgs class. |
Top
Remarks
A publisher is a method that exposes pre-events and post-events.
Inheritance Hierarchy
Object Class
XppPrePostArgs Class