Local and Remote Event handler doesn't show Cancel Reason in all clients

Iron Contributor

Hello.

Local and Remote Event handler doesn't show Cancel Reason in all clients in Project Server 2019.

In previous versions we have this feature.

Is this work by design?

My code is:

ProjectPrePublishEventArgs IProjectEventReceiverRemote.OnPublishingRemote(PSContextInfo contextInfo, Guid eventHandlerUid, ProjectPrePublishEventArgs e)
{
f (e.ProjectName.Contains("New"))
{
e.CancelReason = "Cancel reason description";
e.Cancel = true;
}
return e;
}

0 Replies