OperationRetryControl Class

Definition

Specifies the retry policy for the exceptions got on the communication from client to service.

public class OperationRetryControl
type OperationRetryControl = class
Public Class OperationRetryControl
Inheritance
OperationRetryControl

Constructors

OperationRetryControl()

Properties

Exception

Exception to report for the operation, if ShouldRetry is false. By default this is the same exception as the reported exception, however in some cases the Factory may choose to trasform the reported exception to a more meaningful exception.

ExceptionId

String that uniquely identifies the exception type.

IsTransient

If the ShouldRetry property is true, this property indicates if the communication channel between the client and service is still valid. Transient retriable exceptions are those where the communication channel from client to service still exists. Non transient retriable exceptions are those where we need to re-resolve the service endpoint before we retry.

MaxRetryCount

Max number of times this operation should be retried if the ShouldRetry is true

RetryDelay

The operation should be retried after this delay if the ShouldRetry is true.

ShouldRetry

Indicates whether the operation should be retried or not.

Applies to