IExchangeRuleAction

The IExchangeRuleAction interface supports the actions that are scheduled for a deferred action message (DAM).

Quick Info

Header file: EDKMDB.H
Exposed by: Message objects
Corresponding pointer type: LPEXCHANGERULEACTION

Vtable Order

ActionCount

GetAction

Remarks

To obtain the IExchangeRuleAction interface, call the MAPI IMAPIProp::OpenProperty method on the PR_CLIENT_ACTIONS property of the object. When calling the OpenProperty method, pass the value IID_IExchangeRuleAction in the lpiid parameter.

Note Do not attempt to open an instance of this interface on a non-DAM. If you do, the OpenProperty method returns MAPI_W_ERRORS_RETURNED, which is only a warning, and the interface pointer is uninitialized.

For additional information on this interface, see About Rules.