Reports a problem detected during execution of a rule.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2012
Syntax
C# |
---|
public void PostWarning( FailureMessage message ) |
Visual Basic |
---|
Public Sub PostWarning ( _ message As FailureMessage _ ) |
Visual C++ |
---|
public: void PostWarning( FailureMessage^ message ) |
Parameters
- message
- Type: Autodesk.Revit.DB..::..FailureMessage
Warning describing the problem detected by a rule.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | The message must have severity "warning". |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..InvalidOperationException | Performance advisor is not executing rules. |