Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentDeletedNotification

    Notification that is published after content has been deleted.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IContent>>
    EnumerableObjectNotification<IContent>
    DeletedNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentDeletedNotification : DeletedNotification<IContent>, IStatefulNotification, INotification
    Remarks

    This notification is published by the IContentService when Delete or EmptyRecycleBin methods complete. It is not cancelable since the delete operation has already completed.

    Constructors

    View Source

    ContentDeletedNotification(IContent, EventMessages)

    Initializes a new instance of the ContentDeletedNotification class with a single content item.

    Declaration
    public ContentDeletedNotification(IContent target, EventMessages messages)
    Parameters
    Type Name Description
    IContent target

    The content item that was deleted.

    EventMessages messages

    The event messages collection.

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