Share

FailureMessageAccessor.GetCurrentResolutionType Method

Retrieves the type of 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 FailureResolutionType GetCurrentResolutionType()

Return Value

FailureResolutionType
The type of failure resolution to be used to resolve the failure.

Exceptions

ExceptionCondition
InvalidOperationException This FailureMessageAccessor has not been properly initialized. -or- This FailureMessageAccessor does not have any resolutions.

Remarks

If the current resolution type was never set for the failure, FailureResolutionType::Default is returned.

See Also

Reference

Was this information helpful?