HttpContextBase.AllErrors 屬性

定義

當在派生類別中覆寫時,會獲得一個在處理 HTTP 請求時累積的錯誤陣列(如有)。

public:
 virtual property cli::array <Exception ^> ^ AllErrors { cli::array <Exception ^> ^ get(); };
public virtual Exception[] AllErrors { get; }
member this.AllErrors : Exception[]
Public Overridable ReadOnly Property AllErrors As Exception()

屬性值

一組 Exception 物件陣列用於當前 HTTP 請求,或 null 在 HTTP 請求處理過程中沒有累積錯誤時。

例外狀況

適用於