Search Results for

    Show / Hide Table of Contents
    View Source

    Class RedirectUrlDeletingNotification

    Notification published before one or more redirect URLs are deleted.

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

    This notification is cancelable, allowing handlers to prevent the delete operation by setting Cancel to true.

    Constructors

    View Source

    RedirectUrlDeletingNotification(IEnumerable<IRedirectUrl>, EventMessages)

    Initializes a new instance of the RedirectUrlDeletingNotification class with multiple redirect URLs.

    Declaration
    public RedirectUrlDeletingNotification(IEnumerable<IRedirectUrl> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IRedirectUrl> target

    The redirect URLs being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    RedirectUrlDeletingNotification(IRedirectUrl, EventMessages)

    Initializes a new instance of the RedirectUrlDeletingNotification class with a single redirect URL.

    Declaration
    public RedirectUrlDeletingNotification(IRedirectUrl target, EventMessages messages)
    Parameters
    Type Name Description
    IRedirectUrl target

    The redirect URL being deleted.

    EventMessages messages

    The event messages collection.

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