HttpContext.IsDebuggingEnabled 属性

定义

获取一个值,该值指示当前 HTTP 请求是否处于调试模式。Gets a value indicating whether the current HTTP request is in debug mode.

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

属性值

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

适用于