FailuresAccessor Members

The FailuresAccessor type exposes the following members.

Methods

  NameDescription
Public methodCanCommitPendingTransaction
Checks if pending failure processing can be finished by committing a pending transaction.
Public methodCanRollBackPendingTransaction
Checks if pending failure processing can be finished by rolling back a pending transaction.
Public methodCommitPendingTransaction
Finishes pending failures processing by committing the pending transaction.
Public methodDeleteAllWarnings
Deletes all FailureMessages of severity "Warning" currently posted in a document.
Public methodDeleteElements
Resolves failures by deletion of elements related to the failures.
Public methodDeleteWarning
Deletes one specific failure message of severity "Warning".
Public methodDispose
Releases all resources used by the FailuresAccessor
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetAttemptedResolutionTypes
Returns list of the failure resolution types attempted for the failure in the current transaction.
Public methodGetDocument
Provides access to a document for which failures are being processed or preprocessed.
Public methodGetFailureHandlingOptions
Provides access to the failure handling options for the transaction currently being finished.
Public methodGetFailureMessages()()()()
Provides access to the individual failure messages currently posted in the document.
Public methodGetFailureMessages(FailureSeverity)
Provides access to the individual failure messages if a given severity currently posted in the document.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSeverity
Provides access to the current failure severity.
Public methodGetTransactionName
Retrieves the name of the transaction for which failures are being processed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsActive
Method allows to check if this instance of the accessor is currently active.
Public methodIsElementsDeletionPermitted()()()()
Checks if resolution of the failures by deleting failure elements is permitted.
Public methodIsElementsDeletionPermitted(IList<(Of <<'(ElementId>)>>))
Checks if resolution of the failures by deleting given collection of elements is permitted.
Public methodIsElementsDeletionPermitted(IList<(Of <<'(ElementId>)>>), String%)
Checks if resolution of the failures by deleting given collection of elements is permitted.
Public methodIsFailureResolutionPermitted()()()()
Checks if resolution of failures is permitted.
Public methodIsFailureResolutionPermitted(FailureMessageAccessor)
Checks if default resolution of the failure is permitted.
Public methodIsFailureResolutionPermitted(FailureMessageAccessor, FailureResolutionType)
Checks if resolution of the failure using given resolution type is permitted.
Public methodIsPending
Checks if the failure processing is pending.
Public methodIsTransactionBeingCommitted
Checks if the transaction for which failures are processed is being committed or rolled back.
Public methodJournalFailures
Allows to record information about failures in the journal.
Public methodPostFailure
Posts an additional failure message to be processed for the current transaction.
Public methodReplaceFailures
Deletes all failure messages currently posted in a document and replaces them with one "generic" failure.
Public methodResolveFailure
Resolves one failure using the failure resolution type last set for it.
Public methodResolveFailures
Resolves one or more failures using last set failure resolution type for each of the failures. If failure resolution type was not set for some of failures, default failure resolution type will be used.
Public methodRollBackPendingTransaction
Finishes pending failures processing by rolling back the pending transaction.
Public methodSetFailureHandlingOptions
Sets failure handling options for the transaction currently being finished.
Public methodSetTransactionName
Changes the name of the transaction for which failures are being processed.
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