RetryConditionHeaderValue Constructors

Definition

Initializes a new instance of the RetryConditionHeaderValue class.

Overloads

RetryConditionHeaderValue(DateTimeOffset)

Initializes a new instance of the RetryConditionHeaderValue class.

RetryConditionHeaderValue(TimeSpan)

Initializes a new instance of the RetryConditionHeaderValue class.

RetryConditionHeaderValue(DateTimeOffset)

Source:
RetryConditionHeaderValue.cs
Source:
RetryConditionHeaderValue.cs
Source:
RetryConditionHeaderValue.cs

Initializes a new instance of the RetryConditionHeaderValue class.

public:
 RetryConditionHeaderValue(DateTimeOffset date);
public RetryConditionHeaderValue (DateTimeOffset date);
new System.Net.Http.Headers.RetryConditionHeaderValue : DateTimeOffset -> System.Net.Http.Headers.RetryConditionHeaderValue
Public Sub New (date As DateTimeOffset)

Parameters

date
DateTimeOffset

The date and time offset used to initialize the new instance.

Applies to

RetryConditionHeaderValue(TimeSpan)

Source:
RetryConditionHeaderValue.cs
Source:
RetryConditionHeaderValue.cs
Source:
RetryConditionHeaderValue.cs

Initializes a new instance of the RetryConditionHeaderValue class.

public:
 RetryConditionHeaderValue(TimeSpan delta);
public RetryConditionHeaderValue (TimeSpan delta);
new System.Net.Http.Headers.RetryConditionHeaderValue : TimeSpan -> System.Net.Http.Headers.RetryConditionHeaderValue
Public Sub New (delta As TimeSpan)

Parameters

delta
TimeSpan

The delta, in seconds, used to initialize the new instance.

Applies to