FailuresAccessor.SetFailureHandlingOptions
Method
Description:
Sets failure handling options for the transaction currently being finished.
Sets failure handling options for the transaction currently being finished.
Remarks:
If used with returning ProceedWithRollback from (pre)processing, allows to dismiss errors and roll back transaction without any further failures processing and silently for the user.
If used with returning ProceedWithRollback from (pre)processing, allows to dismiss errors and roll back transaction without any further failures processing and silently for the user.
Parameters
Parameter | Type | Description |
---|---|---|
options | FailureHandlingOptions | The failure handling options to be set for the transaction currently being finished. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This FailuresAccessor is inactive (is used outside of failures processing). |