FailureDefinition Members


The FailureDefinition type exposes the following members.

Methods

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

See Also