RetryConditionHeaderValue 類別

定義

表示 Retry-After 標頭值,它可以是日期/時間或是 timespan 值。

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
繼承
RetryConditionHeaderValue
實作

備註

類別 RetryConditionHeaderValue 提供 IETF 在 RFC 2616 中所定義之 Retry-After 標頭的支援。

建構函式

RetryConditionHeaderValue(DateTimeOffset)

初始化 RetryConditionHeaderValue 類別的新執行個體。

RetryConditionHeaderValue(TimeSpan)

初始化 RetryConditionHeaderValue 類別的新執行個體。

屬性

Date

取得 RetryConditionHeaderValue 物件的日期和時間位移。

Delta

取得來自 RetryConditionHeaderValue 物件的差異 (以秒為單位)。

方法

Equals(Object)

判斷指定的 Object 是否等於目前的 RetryConditionHeaderValue 物件。

GetHashCode()

做為 RetryConditionHeaderValue 物件的雜湊函式。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Parse(String)

將字串轉換為 RetryConditionHeaderValue 執行個體。

ToString()

傳回表示目前 RetryConditionHeaderValue 物件的字串。

TryParse(String, RetryConditionHeaderValue)

判斷字串是否為有效的 RetryConditionHeaderValue 資訊。

明確介面實作

ICloneable.Clone()

建立新物件,為目前 RetryConditionHeaderValue 執行個體的複本。

適用於