Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebhookDeletingNotification

    Notification published before webhooks are deleted.

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

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

    Constructors

    View Source

    WebhookDeletingNotification(IEnumerable<IWebhook>, EventMessages)

    Initializes a new instance of the WebhookDeletingNotification class with multiple webhooks.

    Declaration
    public WebhookDeletingNotification(IEnumerable<IWebhook> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IWebhook> target

    The webhooks being deleted.

    EventMessages messages

    The event messages collection.

    View Source

    WebhookDeletingNotification(IWebhook, EventMessages)

    Initializes a new instance of the WebhookDeletingNotification class with a single webhook.

    Declaration
    public WebhookDeletingNotification(IWebhook target, EventMessages messages)
    Parameters
    Type Name Description
    IWebhook target

    The webhook being deleted.

    EventMessages messages

    The event messages collection.

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