Revit Preview Release API |
FailureMessage Constructor |
FailureMessage Class See Also |
Creates a new FailureMessage related to a given FailureDefinition.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2011
Syntax
C# |
---|
public FailureMessage( FailureDefinitionId id ) |
Visual Basic |
---|
Public Sub New ( _ id As FailureDefinitionId _ ) |
Visual C++ |
---|
public: FailureMessage( FailureDefinitionId^ id ) |
Parameters
- id
- Type: Autodesk.Revit.DB..::..FailureDefinitionId
Id of FailureDefinition.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | id is valid or does not have corresponding failure definition. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |