Table of Contents

Delegate ShouldRetryOperationLambda

Namespace
Microsoft.Accordant
Assembly
Accordant.Operations.dll

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

operation IOperation
This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
request object
This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
response object
This lambda indicates whether to retry an operation call, given its response and the number of time this operation call has already been retried.
numExecutions int
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.