2023 Members
Changes 4
M

FailuresAccessor

Name Return Type Description Inherited From
M CanCommitPendingTransaction() bool Checks if pending failure processing can be finished by committing a pending transaction.
M CanRollBackPendingTransaction() bool Checks if pending failure processing can be finished by rolling back a pending transaction.
M CommitPendingTransaction() TransactionStatus Finishes pending failures processing by committing the pending transaction.
M DeleteAllWarnings() None Deletes all FailureMessages of severity "Warning" currently posted in a document.
M DeleteElements(IList<ElementId>) None Resolves failures by deletion of elements related to the failures.
M DeleteWarning(FailureMessageAccessor) None Deletes one specific failure message of severity "Warning".
M Dispose() None Releases all resources used by the FailuresAccessor
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M GetAttemptedResolutionTypes(FailureMessageAccessor) IList<FailureResolutionType> Returns list of the failure resolution types attempted for the failure in the current transaction.
M GetDocument() Document Provides access to a document for which failures are being processed or preprocessed.
M GetFailureHandlingOptions() FailureHandlingOptions Provides access to the failure handling options for the transaction currently being finished.
M GetFailureMessages.() IList<FailureMessageAccessor> Provides access to the individual failure messages currently posted in the document.
M GetFailureMessages(FailureSeverity) IList<FailureMessageAccessor> Provides access to the individual failure messages if a given severity currently posted in the document.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetSeverity() FailureSeverity Provides access to the current failure severity.
M GetTransactionName() string Retrieves the name of the transaction for which failures are being processed.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M IsActive() bool Method allows to check if this instance of the accessor is currently active.
M IsElementsDeletionPermitted.() bool Checks if resolution of the failures by deleting failure elements is permitted.
M IsElementsDeletionPermitted(IList.ElementId.) bool Checks if resolution of the failures by deleting given collection of elements is permitted.
M IsElementsDeletionPermitted(IList.ElementId., String.) bool Checks if resolution of the failures by deleting given collection of elements is permitted.
M IsFailureResolutionPermitted.() bool Checks if resolution of failures is permitted.
M IsFailureResolutionPermitted(FailureMessageAccessor) bool Checks if default resolution of the failure is permitted.
M IsFailureResolutionPermitted(FailureMessageAccessor, FailureResolutionType) bool Checks if resolution of the failure using given resolution type is permitted.
M IsPending() bool Checks if the failure processing is pending.
M IsTransactionBeingCommitted() bool Checks if the transaction for which failures are processed is being committed or rolled back.
M JournalFailures(IList<FailureMessageAccessor>) None Allows to record information about failures in the journal.
M PostFailure(FailureMessage) None Posts an additional failure message to be processed for the current transaction.
M ReplaceFailures(FailureMessage) None Deletes all failure messages currently posted in a document and replaces them with one "generic" failure.
M ResolveFailure(FailureMessageAccessor) None Resolves one failure using the failure resolution type last set for it.
M ResolveFailures(IList<FailureMessageAccessor>) None 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.
M RollBackPendingTransaction() TransactionStatus Finishes pending failures processing by rolling back the pending transaction.
M SetFailureHandlingOptions(FailureHandlingOptions) None Sets failure handling options for the transaction currently being finished.
M SetTransactionName(String) None Changes the name of the transaction for which failures are being processed.
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.