FailureHandlingOptions Members

The FailureHandlingOptions type exposes the following members.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the FailureHandlingOptions
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetClearAfterRollback
Obtains the flag indicating if all posted failures should be removed silently when transaction is being rolled back.
Public methodGetDelayedMiniWarnings
Obtains the flag indicating if showing of mini-warning dialog should be delayed until the end of next transaction.
Public methodGetFailuresPreprocessor
Gets the callback to be invoked in the beginning of failure processing.
Public methodGetForcedModalHandling
Obtains the flag indicating if the error handling dialog shown at the end of the failing transaction should be modal.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTransactionFinalizer
Gets the callback to be executed after transaction is completed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetClearAfterRollback
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.
Public methodSetDelayedMiniWarnings
Sets a flag indicating if Revit should delay the display of the mini-warning dialog (if one is to be shown as a result of warnings in the current transaction) until the end of the next transaction.
Public methodSetFailuresPreprocessor
Sets the callback to be invoked in the beginning of failure processing.
Public methodSetForcedModalHandling
Sets a flag indicating whether Revit will show a modal (blocking) error dialog if the transaction failed to finish.
Public methodSetTransactionFinalizer
Sets the callback to be executed after the transaction is completed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also