The Command method executes a command on a deferred action message. The Microsoft Exchange Client calls this method when the associated rule is triggered.
HRESULT Command(
LPEXCHANGERULEEXTCALLBACK percb,
LPCTSTR pszCommand,
ULONG cb,
LPENTRYID peid
);
Return E_FAIL if the command fails; return NOERROR if the command completes successfully.
The custom action DLL can use the IExchangeRuleExtCallback interface's methods to obtain information on the Microsoft Exchange Client.