Search Results for

    Show / Hide Table of Contents
    View Source

    Class CacheRefresherNotification

    Abstract base class for cache refresher notifications.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public abstract class CacheRefresherNotification : INotification
    Remarks

    Cache refresher notifications are used to synchronize cache invalidation across multiple servers in a load-balanced environment.

    Constructors

    View Source

    CacheRefresherNotification(object, MessageType)

    Initializes a new instance of the CacheRefresherNotification class.

    Declaration
    public CacheRefresherNotification(object messageObject, MessageType messageType)
    Parameters
    Type Name Description
    object messageObject

    The payload containing information about what to refresh.

    MessageType messageType

    The type of cache refresh operation.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when messageObject is null.

    Properties

    View Source

    MessageObject

    Gets the payload containing information about what to refresh.

    Declaration
    public object MessageObject { get; }
    Property Value
    Type Description
    object
    View Source

    MessageType

    Gets the type of cache refresh operation.

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