HttpContextBase.IsCustomErrorEnabled 屬性

定義

在衍生類別中覆寫時,取得指出是否啟用目前 HTTP 要求之自訂錯誤的值。

public:
 virtual property bool IsCustomErrorEnabled { bool get(); };
public virtual bool IsCustomErrorEnabled { get; }
member this.IsCustomErrorEnabled : bool
Public Overridable ReadOnly Property IsCustomErrorEnabled As Boolean

屬性值

如果啟用自訂錯誤,則為 true;否則為 false

例外狀況

適用於