Bewerken

Share via


RetryConditionHeaderValue Class

Definition

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

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

Remarks

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

Constructors

RetryConditionHeaderValue(DateTimeOffset)

Initializes a new instance of the RetryConditionHeaderValue class.

RetryConditionHeaderValue(TimeSpan)

Initializes a new instance of the RetryConditionHeaderValue class.

Properties

Date

Gets the date and time offset from the RetryConditionHeaderValue object.

Delta

Gets the delta in seconds from the RetryConditionHeaderValue object.

Methods

Equals(Object)

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

GetHashCode()

Serves as a hash function for an RetryConditionHeaderValue object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String)

Converts a string to an RetryConditionHeaderValue instance.

ToString()

Returns a string that represents the current RetryConditionHeaderValue object.

TryParse(String, RetryConditionHeaderValue)

Determines whether a string is valid RetryConditionHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone()

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

Applies to