FailuresAccessor.PostFailure
Method
Description:
Posts an additional failure message to be processed for the current transaction.
Posts an additional failure message to be processed for the current transaction.
Remarks:
Should be used during failures processing instead of a similar method in a document class. Using method of the document class with the same name during failures processing is prohibited.
Should be used during failures processing instead of a similar method in a document class. Using method of the document class with the same name during failures processing is prohibited.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |