WarningHeaderValue 類別

定義

代表 Warning 標頭所使用的警告值。

public class WarningHeaderValue
public class WarningHeaderValue : ICloneable
繼承
WarningHeaderValue
實作

建構函式

屬性

Agent

取得附加警告的主機。

Code

取得特定的警告碼。

Date

取得警告的日期/時間戳記。

Text

取得加上引號的字串,其中包含警告文字。

方法

Equals(Object)

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

GetHashCode()

做為 WarningHeaderValue 物件的雜湊函式。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Parse(String)

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

ToString()

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

TryParse(String, WarningHeaderValue)

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

明確介面實作

ICloneable.Clone()

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

適用於

產品 版本
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1
UWP 10.0