Custom message on unpublish

Hi,

I have a custom Unpublished event, which is working fine.

My problem is that when I add a message to the Messages collection, it is not being shown in the Umbraco backoffice.

e.Messages.Add(new EventMessage(“Unpublished”, “Unpublish message text”, EventMessageType.Success));

The same code works fine in the Published event


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/104249-custom-message-on-unpublish