Retrieves the Id of the FailureDefinition of the failure.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2011
Syntax
C# |
---|
public FailureDefinitionId GetFailureDefinitionId() |
Visual Basic |
---|
Public Function GetFailureDefinitionId As FailureDefinitionId |
Visual C++ |
---|
public: FailureDefinitionId^ GetFailureDefinitionId() |
Return Value
The Id of the FailureDefinition of the failure.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | This FailureMessageAccessor has not been properly initialized. |