Class ContentRolledBackNotification
Notification that is published after content has been rolled back to a previous version.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentRolledBackNotification : RolledBackNotification<IContent>, IStatefulNotification, INotification
Remarks
This notification is published by the IContentService after the content has been reverted. It is not cancelable since the rollback operation has already completed.
Constructors
View SourceContentRolledBackNotification(IContent, EventMessages)
Initializes a new instance of the ContentRolledBackNotification class.
Declaration
public ContentRolledBackNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content item that was rolled back. |
| EventMessages | messages | The event messages collection. |