AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

BusinessObjectLifecycleHandler..::..PostPublish Method

Runs after a publish commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.

Namespace:  AdvantageCMS.Core.Admin.Extensibility
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public virtual bool PostPublish(
	BusinessObjectBase obj,
	ActionArgs e,
	out eCMSEngineEventStatus status,
	out string message
)

Parameters

obj
Type: AdvantageCMS.Core.Admin.BaseClasses..::..BusinessObjectBase
The business object that was just published.
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.

Return Value

true for normal completion; false is logged but has no rollback effect.