Class EntityContainerDeletingNotification
Notification published before entity containers (folders) are deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class EntityContainerDeletingNotification : DeletingNotification<EntityContainer>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the delete operation
by setting Cancel to true.
Constructors
View SourceEntityContainerDeletingNotification(EntityContainer, EventMessages)
Initializes a new instance of the EntityContainerDeletingNotification class.
Declaration
public EntityContainerDeletingNotification(EntityContainer target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityContainer | target | The entity container being deleted. |
| EventMessages | messages | The event messages collection. |