Skip to content

SocialCampaignDeletingNotification

Published before a campaign is removed. The posts that use it keep no campaign. A handler can refuse the removal.

The following properties are available within the notification

Property Name Type Use
Campaign SocialCampaign The campaign about to be removed.
Messages EventMessages Add the message to show when you cancel.
Cancel bool Set to true to cancel without a message.

Call CancelOperation(new EventMessage(category, message, EventMessageType.Error)). Nothing is removed, and the result is campaign.cancelled:<message>.