FailuresAccessor.GetFailureMessages(FailureSeverity)
Method
Description:
Provides access to the individual failure messages if a given severity currently posted in the document.
Provides access to the individual failure messages if a given severity currently posted in the document.
Parameters
| Parameter | Type | Description |
|---|---|---|
| severity | FailureSeverity | The failure severity for which failure messages are requested. If the requested severity is None, an empty collection is returned. |
Return Value
| Type | Description |
|---|---|
| IList | Accessors to the individual failure messages of a given severity posted in the document. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
| InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |