HttpContextBase.IsDebuggingEnabled 属性

定义

在派生类中重写时,获取一个值,该值指示当前 HTTP 请求是否处于调试模式。When overridden in a derived class, gets a value that indicates whether the current HTTP request is in debug mode.

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

属性值

Boolean

如果请求处于调试模式,则为 true;否则,为 falsetrue if the request is in debug mode; otherwise, false.

例外

始终。Always.

适用于