Class RetryPolicyOptions
- Namespace
- DocuWare.Platform.ServerClient.Policy.Retry
- Assembly
- DocuWare.Platform.ServerClient.dll
Definitions of the retry policy options.
public class RetryPolicyOptions
- Inheritance
-
RetryPolicyOptions
- Inherited Members
Constructors
RetryPolicyOptions()
Initializes a new instance of the RetryPolicyOptions class.
public RetryPolicyOptions()
RetryPolicyOptions(int, TimeSpan)
Initializes a new instance of the RetryPolicyOptions class.
public RetryPolicyOptions(int maxRetryAttempts, TimeSpan firstRetryDelay)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxRetryAttempts | |
| TimeSpan | firstRetryDelay |
Properties
FirstRetryDelay
Gets the delay before the first retry.
public TimeSpan FirstRetryDelay { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
MaxRetryAttempts
Gets the maximum number of retry attempts.
public int MaxRetryAttempts { get; }
Property Value
| Type | Description |
|---|---|
| int |