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