Search Results for

    Show / Hide Table of Contents
    View Source

    Class EventMessage

    An event message

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class EventMessage

    Constructors

    View Source

    EventMessage(string, string, EventMessageType)

    Initializes a new instance of the EventMessage class.

    Declaration
    public EventMessage(string category, string message, EventMessageType messageType = EventMessageType.Default)
    Parameters
    Type Name Description
    string category
    string message
    EventMessageType messageType

    Properties

    View Source

    Category

    Declaration
    public string Category { get; }
    Property Value
    Type Description
    string
    View Source

    IsDefaultEventMessage

    This is used to track if this message should be used as a default message so that Umbraco doesn't also append it's own default messages

    Declaration
    public bool IsDefaultEventMessage { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Message

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string
    View Source

    MessageType

    Declaration
    public EventMessageType MessageType { get; }
    Property Value
    Type Description
    EventMessageType
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX