HttpResponseWrapper.SubStatusCode 屬性

定義

取得或設定值,這個值會評估回應的狀態碼是否符合。

public:
 virtual property int SubStatusCode { int get(); void set(int value); };
public override int SubStatusCode { get; set; }
member this.SubStatusCode : int with get, set
Public Overrides Property SubStatusCode As Integer

屬性值

Int32

IIS 7.0 子狀態碼。

例外狀況

此作業需要 IIS 7.0 中的整合式管線模式,以及至少.NET Framework 3.0 版。

狀態碼是在送出所有 HTTP 標頭之後設定。

適用於