HttpResponseWrapper.StatusDescription 屬性

定義

接收或設定輸出的 HTTP 狀態訊息,回傳給用戶端。

public:
 virtual property System::String ^ StatusDescription { System::String ^ get(); void set(System::String ^ value); };
public override string StatusDescription { get; set; }
member this.StatusDescription : string with get, set
Public Overrides Property StatusDescription As String

屬性值

返回給用戶端的 HTTP 輸出狀態訊息。 預設值是「OK」。 有關有效狀態碼的資訊,請參見 HTTP 狀態碼

例外狀況

StatusDescription 是在 HTTP 標頭傳送後設定的。

狀態值超過512字元。

適用於