| ControllerBasePostponeTransientErrorT Method |
If the action throws a transient sql error, the exception is eaten.
An entry is written to the log with level Information.
The entire exception is written to the log with level Debug.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxprotected virtual T PostponeTransientError<T>(
ControllerBaseActionWithResult<T> action,
int silentRetries = 3
)
where T : Object, IEquatable<T>
Parameters
- action
- Type: Omada.OE.AppLogicControllerBaseActionWithResultT
- silentRetries (Optional)
- Type: SystemInt32
Number of times we silently retry transient SQL errors when this method is called
Type Parameters
- T
-
Should normally be int.
Return Value
Type:
T
See Also