Delegate ShouldRetryOperationLambda
This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
public delegate RetryBehavior ShouldRetryOperationLambda(IOperation operation, object request, object response, int numExecutions)
Parameters
operationIOperation- This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
requestobject- This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
responseobject- This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
numExecutionsint- This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
Returns
- RetryBehavior
- This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.