Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainDeletingNotification

    Notification published before domains are deleted.

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

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

    Constructors

    View Source

    DomainDeletingNotification(IEnumerable<IDomain>, EventMessages)

    Initializes a new instance of the DomainDeletingNotification class with multiple domains.

    Declaration
    public DomainDeletingNotification(IEnumerable<IDomain> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IDomain> target

    The domains being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    DomainDeletingNotification(IDomain, EventMessages)

    Initializes a new instance of the DomainDeletingNotification class with a single domain.

    Declaration
    public DomainDeletingNotification(IDomain target, EventMessages messages)
    Parameters
    Type Name Description
    IDomain target

    The domain being deleted.

    EventMessages messages

    The event messages collection.

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