Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentMovingNotification

    A notification that is used to trigger the IContentService when the Move method is called in the API. Called while content is moving, but before it has been moved. Cancel the operation to prevent the movement. NOTE: If the target parent is the Recycle bin, this notification is never published. Try the ContentMovingToRecycleBinNotification instead.

    Inheritance
    System.Object
    StatefulNotification
    ObjectNotification<IEnumerable<MoveEventInfo<IContent>>>
    CancelableObjectNotification<IEnumerable<MoveEventInfo<IContent>>>
    MovingNotification<IContent>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ContentMovingNotification : MovingNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification

    Constructors

    View Source

    ContentMovingNotification(IEnumerable<MoveEventInfo<IContent>>, EventMessages)

    Declaration
    public ContentMovingNotification(IEnumerable<MoveEventInfo<IContent>> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<MoveEventInfo<IContent>> target
    EventMessages messages
    View Source

    ContentMovingNotification(MoveEventInfo<IContent>, EventMessages)

    Declaration
    public ContentMovingNotification(MoveEventInfo<IContent> target, EventMessages messages)
    Parameters
    Type Name Description
    MoveEventInfo<IContent> target
    EventMessages messages
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentMovingNotification(IEnumerable<MoveEventInfo<IContent>>, EventMessages)
      • ContentMovingNotification(MoveEventInfo<IContent>, EventMessages)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX