Revit Preview Release API |
FailureMessage..::..HasResolutionOfType Method |
FailureMessage Class See Also |
Checks if failure has a resolution of a given type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2011
Syntax
C# |
---|
public bool HasResolutionOfType( FailureResolutionType type ) |
Visual Basic |
---|
Public Function HasResolutionOfType ( _ type As FailureResolutionType _ ) As Boolean |
Visual C++ |
---|
public: bool HasResolutionOfType( FailureResolutionType type ) |
Parameters
- type
- Type: Autodesk.Revit.DB..::..FailureResolutionType
The type of resolution.
Return Value
True if the failure has a type of resolutions, else false.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |