Share

FailureHandlingOptions.SetClearAfterRollback Method

Sets a flag indicating that Revit should clear all posted failures silently when the failing transaction is being rolled back intentionally. If not set, the failures may still be displayed to the user during rollback.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public FailureHandlingOptions SetClearAfterRollback(
	bool bFlag
)

Parameters

bFlag  Boolean
True to clear posted failures silently if the transaction is being rolled back, false to keep these failures in place (they may be displayed to the user).

Return Value

FailureHandlingOptions
This FailureHandlingOptions object.

See Also

Reference

Was this information helpful?