View Source
Class CancellableObjectEventArgs
Provides a base class for classes representing event data, for events that support cancellation, and expose an
impacted object.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public abstract class CancellableObjectEventArgs : CancellableEventArgs
Constructors
View Source
CancellableObjectEventArgs(Object)
Declaration
protected CancellableObjectEventArgs(object eventObject)
Parameters
Type |
Name |
Description |
System.Object |
eventObject |
|
View Source
CancellableObjectEventArgs(Object, Boolean)
Declaration
protected CancellableObjectEventArgs(object eventObject, bool canCancel)
Parameters
Type |
Name |
Description |
System.Object |
eventObject |
|
System.Boolean |
canCancel |
|
View Source
CancellableObjectEventArgs(Object, Boolean, EventMessages)
Declaration
protected CancellableObjectEventArgs(object eventObject, bool canCancel, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Object |
eventObject |
|
System.Boolean |
canCancel |
|
EventMessages |
eventMessages |
|
View Source
CancellableObjectEventArgs(Object, Boolean, EventMessages, IDictionary<String, Object>)
Declaration
protected CancellableObjectEventArgs(object eventObject, bool canCancel, EventMessages messages, IDictionary<string, object> additionalData)
Parameters
Type |
Name |
Description |
System.Object |
eventObject |
|
System.Boolean |
canCancel |
|
EventMessages |
messages |
|
IDictionary<System.String, System.Object> |
additionalData |
|
View Source
CancellableObjectEventArgs(Object, EventMessages)
Declaration
protected CancellableObjectEventArgs(object eventObject, EventMessages eventMessages)
Parameters
Type |
Name |
Description |
System.Object |
eventObject |
|
EventMessages |
eventMessages |
|
Properties
View Source
EventObject
Gets or sets the impacted object.
Declaration
public object EventObject { get; set; }
Property Value
Type |
Description |
System.Object |
|