FailureMessage Members


The FailureMessage type exposes the following members.

Constructors

Name Description
Public method FailureMessage
Creates a new FailureMessage related to a given FailureDefinition.

Methods

Name Description
Public method AddResolution
Adds a resolution for the failure.
Public method Dispose
Releases all resources used by the FailureMessage
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetAdditionalElements
Retrieves list of the additional reference elements for the failure.
Public method GetDefaultResolutionCaption
Retrieves the caption of the default resolution of the failure.
Public method GetDescriptionText
Retrieves the description text of the failure.
Public method GetFailingElements
Retrieves list of the elements that have caused the failure.
Public method GetFailureDefinitionId
Retrieves the id of the failure definition for the failure.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetSeverity
Retrieves the severity of the failure.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method HasResolutionOfType
Checks if failure has a resolution of a given type.
Public method HasResolutions
Checks if the failure has any resolutions.
Public method SetAdditionalElement
Sets the additional reference element for the failure.
Public method SetAdditionalElements
Sets the additional reference elements for the failure.
Public method SetFailingElement
Sets the element that has caused the failure.
Public method SetFailingElements
Sets elements that have caused the failure.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also