RetryConditionHeaderValue 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一個 Retry-After 標頭值,可以是日期/時間或時間範圍值。
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 標頭。
建構函式
| 名稱 | Description |
|---|---|
| RetryConditionHeaderValue(DateTimeOffset) |
初始化 RetryConditionHeaderValue 類別的新執行個體。 |
| RetryConditionHeaderValue(TimeSpan) |
初始化 RetryConditionHeaderValue 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Date |
取得物件的 RetryConditionHeaderValue 日期和時間偏移。 |
| Delta |
從物體幾秒 RetryConditionHeaderValue 內就能取得差值。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷指定的 Object 是否等於當前 RetryConditionHeaderValue 物件。 |
| GetHashCode() |
作為物件的 RetryConditionHeaderValue 雜湊函數。 |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| Parse(String) |
將字串轉換成實 RetryConditionHeaderValue 例。 |
| ToString() |
回傳一個代表當前 RetryConditionHeaderValue 物件的字串。 |
| TryParse(String, RetryConditionHeaderValue) |
判斷字串是否為有效 RetryConditionHeaderValue 資訊。 |
明確介面實作
| 名稱 | Description |
|---|---|
| ICloneable.Clone() |
建立一個新的物件,該物件是目前 RetryConditionHeaderValue 實例的複製品。 |