PerformanceAdviser.AddRule
Method
Description:
Adds a performance adviser rule to the list of rules.
Adds a performance adviser rule to the list of rules.
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | PerformanceAdviserRuleId | An id of the rule to be added to the list of rules. |
| rule | IPerformanceAdviserRule | The rule to be added |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |