Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​Http.​Headers.​RetryConditionHeaderValue
Assembly: System.Net.Http
Inheritance: object → RetryConditionHeaderValue
Implemented Interfaces
Represents a Retry-After header value that can either be a date/time or a timespan value.
Properties
public
DateTimeOffset?
Date
Gets the date and time offset from the <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.
public
TimeSpan?
Delta
Gets the delta in seconds from the <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.
Methods
public
bool
Equals​(object obj)
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.
Returns <see langword="true" /> if the specified <see cref="T:System.Object" /> is equal to the current object; otherwise, <see langword="false" /> .
obj
The object to compare with the current object.
public
int
GetHashCode​()
Serves as a hash function for an <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.
Returns A hash code for the current object.
public static
RetryConditionHeaderValue
Parse​(string input)
Converts a string to an <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> instance.
Returns A <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> instance.
input
A string that represents retry condition header value information.
public
string
ToString​()
Returns a string that represents the current <see cref="T:System.Net.Http.Headers.RetryConditionHeaderValue" /> object.
Returns A string that represents the current object.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object