HttpContext.IsCustomErrorEnabled 屬性

定義

取得值,表示是否對目前 HTTP 要求啟用自訂錯誤。

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

屬性值

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

適用於