2022 Members
Changes 4
M

FailureMessage

Name Return Type Description Inherited From
M AddResolution(FailureResolutionType, FailureResolution) The FailureMessage. Adds a resolution for the failure.
M Dispose() None Releases all resources used by the FailureMessage
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M GetAdditionalElements() The additional elements. Retrieves list of the additional reference elements for the failure.
M GetDefaultResolutionCaption() string Retrieves the caption of the default resolution of the failure.
M GetDescriptionText() The description text. Retrieves the description text of the failure.
M GetFailingElements() ICollection<ElementId> Retrieves list of the elements that have caused the failure.
M GetFailureDefinitionId() FailureDefinitionId Retrieves the id of the failure definition for the failure.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetSeverity() FailureSeverity Retrieves the severity of the failure.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M HasResolutionOfType(FailureResolutionType) bool Checks if failure has a resolution of a given type.
M HasResolutions() bool Checks if the failure has any resolutions.
M SetAdditionalElement(ElementId) The FailureMessage. Sets the additional reference element for the failure.
M SetAdditionalElements(ICollection<ElementId>) The FailureMessage. Sets the additional reference elements for the failure.
M SetFailingElement(ElementId) The FailureMessage. Sets the element that has caused the failure.
M SetFailingElements(ICollection<ElementId>) The FailureMessage. Sets elements that have caused the failure.
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.