Provides access to the current failure severity.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public FailureSeverity GetSeverity()
Return Value
FailureSeverityThe highest severity of a failure message currently posted in the document.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |