R
RHS
Hi,
I wrote a simple event handler for the Publishing event and it works fine.
The test cancels the publish using the CancelEvent(Reason) method. When a
publish gets canceled, the status bar in Project Pro shows "Job cancelled on
Server". On PMs My Queued Jobs page, the Job State column shows "Cancelled".
On the Manage Queue Jobs page, the Last Admin Action column shows "Canceled
by event handler". What's strange is that the string I passed for the Reason
arg does not show up anywhere. It's really the only mechanism for letting the
user know why the event was cancelled, but I can't figure out where it is
used. Am I missing something?
Thanks,
Erik
I wrote a simple event handler for the Publishing event and it works fine.
The test cancels the publish using the CancelEvent(Reason) method. When a
publish gets canceled, the status bar in Project Pro shows "Job cancelled on
Server". On PMs My Queued Jobs page, the Job State column shows "Cancelled".
On the Manage Queue Jobs page, the Last Admin Action column shows "Canceled
by event handler". What's strange is that the string I passed for the Reason
arg does not show up anywhere. It's really the only mechanism for letting the
user know why the event was cancelled, but I can't figure out where it is
used. Am I missing something?
Thanks,
Erik