Retrieves severity of the failure. 
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Return Value
The severity of the failure.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsInvalidOperationException | The FailureDefinitionAccessor has not been properly initialized. |