HttpResponseWrapper.Status 屬性

定義

設定 Status 回傳給用戶端的值。

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

屬性值

HTTP 輸出的狀態。 預設值是「200(OK)」。 有關有效狀態碼的資訊,請參見 HTTP 狀態碼

例外狀況

Status 設定為無效狀態碼。

適用於