Failure |
Restricted accessor for FailureMessage.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
The FailureMessageAccessor type exposes the following members.
| Name | Description | |
|---|---|---|
| | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
| Name | Description | |
|---|---|---|
| | CloneFailureMessage | Creates a copy of the FailureMessage. |
| | Dispose | Releases all resources used by the FailureMessageAccessor |
| | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) |
| | GetAdditionalElementIds | Retrieves Ids of Elements that have not caused the failure but are related to it Checks if the failure has resolution of a given resolution type. |
| | GetCurrentResolutionType | Retrieves the type of resolution to be used to resolve the failure. |
| | GetDefaultResolutionCaption | Retrieves the caption of default resolution of the failure. |
| | GetDescriptionText | Retrieves the description of the failure. |
| | GetFailingElementIds | Retrieves Ids of Elements that have caused the failure. |
| | GetFailureDefinitionId | Retrieves the Id of the FailureDefinition of the failure. |
| | GetHashCode | Serves as the default hash function. (Inherited from Object ) |
| | GetNumberOfResolutions | Retrieves number of resolutions that can be used to resolve failure. |
| | GetSeverity | Retrieves the severity of the failure. |
| | GetType | Gets the Type of the current instance. (Inherited from Object ) |
| | HasResolutionOfType | Checks if failure has a resolution of a given type. |
| | HasResolutions | Checks if the failure has any resolutions. |
| | SetCurrentResolutionType | Sets the type of a resolution to be used to resolve the failure. |
| | ShouldMergeWithMessage | Checks if the FailureMessage should be merged with the other FailureMessage for better user experience. |
| | ToString | Returns a string that represents the current object. (Inherited from Object ) |
Provides access to a FailureMessage stored in a Document. Reading of the information from the FailureMessage is allowed, changing of information is generally not allowed, except setting of the current resolution type.