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 SourceCacheRefresherNotification(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 |
Properties
View SourceMessageObject
Gets the payload containing information about what to refresh.
Declaration
public object MessageObject { get; }
Property Value
| Type | Description |
|---|---|
| object |
MessageType
Gets the type of cache refresh operation.
Declaration
public MessageType MessageType { get; }
Property Value
| Type | Description |
|---|---|
| MessageType |