Sets the type of a resolution to be used to resolve the failure.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetCurrentResolutionType( FailureResolutionType resolutionType )
Parameters
- resolutionType FailureResolutionType
- The type of failure resolution to be used to resolve the failure.
Exceptions
Exception | Condition |
---|---|
ArgumentException | This FailureMessageAccessor has no resolution of resolutionType. |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
InvalidOperationException | This FailureMessageAccessor has not been properly initialized. -or- This FailureMessageAccessor does not have any resolutions. |