2024 Members
Changes 4
M

FailureDefinition

Name Return Type Description Inherited From
M AddResolutionType(FailureResolutionType, String, Type) The FailureDefinition. Adds a type of possible resolution for the failure.
M CreateFailureDefinition(FailureDefinitionId, FailureSeverity, String) FailureDefinition Creates an instance of a FailureDefinition.
M Dispose() None Releases all resources used by the FailureDefinition
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M GetApplicableResolutionTypes() IList<FailureResolutionType> Retrieves a list of resolution types applicable to the failure.
M GetDefaultResolutionType() FailureResolutionType Retrieves the default resolution type for the failure.
M GetDescriptionText() The description text. Retrieves the description text of the failure.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetResolutionCaption(FailureResolutionType) string Retrieves the caption for a specific resolution type.
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M HasResolutions() bool Checks if the FailureDefinition has at least one resolution.
M IsResolutionApplicable(FailureResolutionType) bool Checks if the given resolution type is applicable to the failure.
M SetDefaultResolutionType(FailureResolutionType) The FailureDefinition. Sets the default resolution type for 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.
P Severity FailureSeverity The severity of the failure.