PerformanceAdviser.ExecuteRules(Document, IList<PerformanceAdviserRuleId>)
Method
Description:
Executes selected rules on a given document.
Executes selected rules on a given document.
Syntax
public IList<FailureMessage> ExecuteRules(
Document document,
IList<PerformanceAdviserRuleId> rules
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | Document on which the rules will be executed. |
| rules | IList | Ids of rules to be executed. |
Return Value
| Type | Description |
|---|---|
| IList | Failure messages explaining performance problems detected in the document. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |