Class ContentDeletedNotification
Notification that is published after content has been deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentDeletedNotification : DeletedNotification<IContent>, IStatefulNotification, INotification
Remarks
This notification is published by the IContentService when Delete or EmptyRecycleBin methods complete. It is not cancelable since the delete operation has already completed.
Constructors
View SourceContentDeletedNotification(IContent, EventMessages)
Initializes a new instance of the ContentDeletedNotification class with a single content item.
Declaration
public ContentDeletedNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content item that was deleted. |
| EventMessages | messages | The event messages collection. |