Class ElementDeletingNotification
A notification that is used to trigger the IElementService when the DeleteElementOfType, Delete and EmptyRecycleBin methods are called in the API.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ElementDeletingNotification : DeletingNotification<IElement>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceElementDeletingNotification(IEnumerable<IElement>, EventMessages)
Declaration
public ElementDeletingNotification(IEnumerable<IElement> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IElement> | target | |
| EventMessages | messages |
ElementDeletingNotification(IElement, EventMessages)
Declaration
public ElementDeletingNotification(IElement target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IElement | target | |
| EventMessages | messages |