The FailureMessageAccessor type exposes the following members.

Methods

  NameDescription
Public methodCloneFailureMessage
Creates a copy of the FailureMessage.
Public methodDispose
Releases all resources used by the FailureMessageAccessor
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetAdditionalElementIds
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.
Public methodGetCurrentResolutionType
Retrieves the type of resolution to be used to resolve the failure.
Public methodGetDefaultResolutionCaption
Retrieves the caption of default resolution of the failure.
Public methodGetDescriptionText
Retrieves the description of the failure.
Public methodGetFailingElementIds
Retrieves Ids of Elements that have caused the failure.
Public methodGetFailureDefinitionId
Retrieves the Id of the FailureDefinition of the failure.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetNumberOfResolutions
Retrieves number of resolutions that can be used to resolve failure.
Public methodGetSeverity
Retrieves the severity of the failure.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasResolutionOfType
Checks if failure has a resolution of a given type.
Public methodHasResolutions
Checks if the failure has any resolutions.
Public methodSetCurrentResolutionType
Sets the type of a resolution to be used to resolve the failure.
Public methodShouldMergeWithMessage
Checks if the FailureMessage should be merged with the other FailureMessage for better user experience.
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