Class ExternalMemberDeletingNotification
Notification that is published before an external member is deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ExternalMemberDeletingNotification : DeletingNotification<ExternalMemberIdentity>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the delete operation. The notification is published by the IExternalMemberService before the external member is removed.
Constructors
View SourceExternalMemberDeletingNotification(IEnumerable<ExternalMemberIdentity>, EventMessages)
Initializes a new instance of the ExternalMemberDeletingNotification class with multiple external members.
Declaration
public ExternalMemberDeletingNotification(IEnumerable<ExternalMemberIdentity> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ExternalMemberIdentity> | target | The collection of external members being deleted. |
| EventMessages | messages | The event messages collection. |
ExternalMemberDeletingNotification(ExternalMemberIdentity, EventMessages)
Initializes a new instance of the ExternalMemberDeletingNotification class with a single external member.
Declaration
public ExternalMemberDeletingNotification(ExternalMemberIdentity target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| ExternalMemberIdentity | target | The external member being deleted. |
| EventMessages | messages | The event messages collection. |