Class ContentMovingNotification
Called while content is moving, but before it has been moved. Cancel the operation to prevent the movement.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class ContentMovingNotification : MovingNotification<IContent>, IStatefulNotification, ICancelableNotification, INotification
Constructors
View SourceContentMovingNotification(IEnumerable<MoveEventInfo<IContent>>, EventMessages)
Declaration
public ContentMovingNotification(IEnumerable<MoveEventInfo<IContent>> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<MoveEventInfo<IContent>> | target | |
EventMessages | messages |
ContentMovingNotification(MoveEventInfo<IContent>, EventMessages)
Declaration
public ContentMovingNotification(MoveEventInfo<IContent> target, EventMessages messages)
Parameters
Type | Name | Description |
---|---|---|
MoveEventInfo<IContent> | target | |
EventMessages | messages |