Class RelationDeletingNotification
A notification that is published when a relation is being deleted.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class RelationDeletingNotification : DeletingNotification<IRelation>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceRelationDeletingNotification(IEnumerable<IRelation>, EventMessages)
Initializes a new instance of the RelationDeletingNotification.
Declaration
public RelationDeletingNotification(IEnumerable<IRelation> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IRelation> | target | Gets the collection of IRelation objects being deleted. |
EventMessages | messages | Initializes a new instance of the EventMessages. |
RelationDeletingNotification(IRelation, EventMessages)
Declaration
public RelationDeletingNotification(IRelation target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IRelation | target | |
EventMessages | messages |