PerformanceAdviser.PostWarning
Method
Description:
Reports a problem detected during execution of a rule.
Reports a problem detected during execution of a rule.
Parameters
| Parameter | Type | Description |
|---|---|---|
| message | FailureMessage | Warning describing the problem detected by a rule. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The message must have severity "warning". |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Performance advisor is not executing rules. |