BusinessObjectLifecycleHandler..::..PreDeleteDraft Method
Runs before a draft-only delete commits (the published version stays). Return
false to veto the delete.
Namespace:
AdvantageCMS.Core.Admin.ExtensibilityAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public virtual bool PreDeleteDraft( BusinessObjectBase obj, ActionArgs e, out eCMSEngineEventStatus status, out string message )
Parameters
- obj
- Type: AdvantageCMS.Core.Admin.BaseClasses..::..BusinessObjectBase
The business object draft about to be deleted.
- e
- Type: AdvantageCMS.Core.Admin.Event..::..ActionArgs
Action context (user, SQL, domain, language, attributes).
- status
- Type: AdvantageCMS.Core.Admin.Event..::..eCMSEngineEventStatus%
Outputs the engine event status for this hook.
- message
- Type: String%
Outputs a message surfaced to the engine event log.

