HttpContextWrapper.IsCustomErrorEnabled 属性

定义

获取一个值,该值指示是否已为当前 HTTP 请求启用自定义错误。

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

属性值

Boolean

如果启用了自定义错误,则为 true;否则,为 false

适用于