Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentRollingBackNotification

    Notification that is published before content is rolled back to a previous version.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IContent>
    CancelableObjectNotification<IContent>
    RollingBackNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentRollingBackNotification : RollingBackNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the rollback operation. The notification is published by the IContentService before the content is reverted.

    Constructors

    View Source

    ContentRollingBackNotification(IContent, EventMessages)

    Initializes a new instance of the ContentRollingBackNotification class.

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

    The content item being rolled back.

    EventMessages messages

    The event messages collection.

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