Class ContentRollingBackNotification
Notification that is published before content is rolled back to a previous version.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentRollingBackNotification : RollingBackNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the rollback operation. The notification is published by the IContentService before the content is reverted.
Constructors
View SourceContentRollingBackNotification(IContent, EventMessages)
Initializes a new instance of the ContentRollingBackNotification class.
Declaration
public ContentRollingBackNotification(IContent target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IContent | target | The content item being rolled back. |
| EventMessages | messages | The event messages collection. |