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