Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberDeletingNotification

    Notification that is published before a member is deleted.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IMember>>
    CancelableObjectNotification<IEnumerable<IMember>>
    CancelableEnumerableObjectNotification<IMember>
    DeletingNotification<IMember>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class MemberDeletingNotification : DeletingNotification<IMember>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the delete operation. The notification is published by the IMemberService when Delete or DeleteMembersOfType methods are called.

    Constructors

    View Source

    MemberDeletingNotification(IEnumerable<IMember>, EventMessages)

    Initializes a new instance of the MemberDeletingNotification class with multiple members.

    Declaration
    public MemberDeletingNotification(IEnumerable<IMember> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IMember> target

    The collection of members being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    MemberDeletingNotification(IMember, EventMessages)

    Initializes a new instance of the MemberDeletingNotification class with a single member.

    Declaration
    public MemberDeletingNotification(IMember target, EventMessages messages)
    Parameters
    Type Name Description
    IMember target

    The member being deleted.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX