Search Results for

    Show / Hide Table of Contents
    View Source

    Class DataTypeDeletingNotification

    Notification that is published before a data type is deleted.

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

    This notification is cancelable, allowing handlers to prevent the delete operation. The notification is published by the IDataTypeService before the data type is removed.

    Constructors

    View Source

    DataTypeDeletingNotification(IDataType, EventMessages)

    Initializes a new instance of the DataTypeDeletingNotification class with a single data type.

    Declaration
    public DataTypeDeletingNotification(IDataType target, EventMessages messages)
    Parameters
    Type Name Description
    IDataType target

    The data type being deleted.

    EventMessages messages

    The event messages collection.

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