RetryConditionHeaderValue RetryConditionHeaderValue RetryConditionHeaderValue RetryConditionHeaderValue Class

Definition

Represents a Retry-After header value which can either be a date/time or a timespan value.

public ref class RetryConditionHeaderValue : ICloneable
public class RetryConditionHeaderValue : ICloneable
type RetryConditionHeaderValue = class
    interface ICloneable
Public Class RetryConditionHeaderValue
Implements ICloneable
Inheritance
RetryConditionHeaderValueRetryConditionHeaderValueRetryConditionHeaderValueRetryConditionHeaderValue
Implements

Remarks

The RetryConditionHeaderValue class provides support for the Retry-After header as defined in RFC 2616 by the IETF.

Constructors

RetryConditionHeaderValue(DateTimeOffset) RetryConditionHeaderValue(DateTimeOffset) RetryConditionHeaderValue(DateTimeOffset) RetryConditionHeaderValue(DateTimeOffset)

Initializes a new instance of the RetryConditionHeaderValue class.

RetryConditionHeaderValue(TimeSpan) RetryConditionHeaderValue(TimeSpan) RetryConditionHeaderValue(TimeSpan) RetryConditionHeaderValue(TimeSpan)

Initializes a new instance of the RetryConditionHeaderValue class.

Properties

Date Date Date Date

Gets the date and time offset from the RetryConditionHeaderValue object.

Delta Delta Delta Delta

Gets the delta in seconds from the RetryConditionHeaderValue object.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current RetryConditionHeaderValue object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an RetryConditionHeaderValue object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an RetryConditionHeaderValue instance.

ToString() ToString() ToString() ToString()

Returns a string that represents the current RetryConditionHeaderValue object.

TryParse(String, RetryConditionHeaderValue) TryParse(String, RetryConditionHeaderValue) TryParse(String, RetryConditionHeaderValue) TryParse(String, RetryConditionHeaderValue)

Determines whether a string is valid RetryConditionHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Creates a new object that is a copy of the current RetryConditionHeaderValue instance.

Applies to