RecoveryStrategyBaseExecuteTResult Method (FuncTResult) |
Executes the specified toExecute func. If it fails with a transient exception it will be retried till either the maximum number of retries
has been attempted or the maximum delay has been reached.
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax public TResult Execute<TResult>(
Func<TResult> toExecute
)
Public Function Execute(Of TResult) (
toExecute As Func(Of TResult)
) As TResult
Parameters
- toExecute
- Type: SystemFuncTResult
The func to execute.
Type Parameters
- TResult
- The type of the result.
Return Value
Type:
TResultthe result of the execution of toExecute
See Also