Revit 2026 API
Performance |
Reports a problem detected during execution of a rule.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void PostWarning( FailureMessage message )
Public Sub PostWarning ( message As FailureMessage )
public: void PostWarning( FailureMessage^ message )
member PostWarning : message : FailureMessage -> unit
Parameters
- message FailureMessage
- Warning describing the problem detected by a rule.
| Exception | Condition |
|---|---|
| ArgumentException | The message must have severity "warning". |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Performance advisor is not executing rules. |
See Also