2022 Members
Changes 4
M

FailureHandlingOptions

Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the FailureHandlingOptions
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M GetClearAfterRollback() bool Obtains the flag indicating if all posted failures should be removed silently when transaction is being rolled back.
M GetDelayedMiniWarnings() bool Obtains the flag indicating if showing of mini-warning dialog should be delayed until the end of next transaction.
M GetFailuresPreprocessor() IFailuresPreprocessor Gets the callback to be invoked in the beginning of failure processing.
M GetForcedModalHandling() bool Obtains the flag indicating if the error handling dialog shown at the end of the failing transaction should be modal.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetTransactionFinalizer() ITransactionFinalizer Gets the callback to be executed after transaction is completed.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M SetClearAfterRollback(Boolean) This FailureHandlingOptions object. 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.
M SetDelayedMiniWarnings(Boolean) This FailureHandlingOptions object. 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.
M SetFailuresPreprocessor(IFailuresPreprocessor) This FailureHandlingOptions object. Sets the callback to be invoked in the beginning of failure processing.
M SetForcedModalHandling(Boolean) This FailureHandlingOptions object. Sets a flag indicating whether Revit will show a modal (blocking) error dialog if the transaction failed to finish.
M SetTransactionFinalizer(ITransactionFinalizer) This FailureHandlingOptions object. Sets the callback to be executed after the transaction is completed.
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object .
Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.