HttpContext.Error プロパティ

定義

HTTP 要求の処理中にエラーが蓄積された場合は、その最初のエラーを取得します。

public:
 property Exception ^ Error { Exception ^ get(); };
public Exception Error { get; }
member this.Error : Exception
Public ReadOnly Property Error As Exception

プロパティ値

現在の HTTP 要求または HTTP 応答の処理に対する最初の Exception。HTTP 要求処理中にエラーが 1 つも蓄積されなかった場合は、null。 既定値は、null です。

適用対象

こちらもご覧ください