HttpResponseMessageProperty.StatusDescription 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定該屬性所附加的當前 HTTP 回應的狀態碼描述。
public:
property System::String ^ StatusDescription { System::String ^ get(); void set(System::String ^ value); };
public string StatusDescription { get; set; }
member this.StatusDescription : string with get, set
Public Property StatusDescription As String
屬性值
回傳 以 StatusDescription 發送 HTTP 回應。
範例
此說明如何取得該屬性所附加的當前 HTTP 回應狀態碼描述:
string statusDescription =
responseProperty.StatusDescription;
備註
此特性提供使用者友善的回傳狀態碼描述。