Indicates whether tracing is enabled for the current Web request. Use this flag to check whether you should output tracing information before writing anything to the trace log.
[Visual Basic] Public Property IsEnabled As Boolean [C#] public bool IsEnabled {get; set;} [C++] public: __property bool get_IsEnabled(); public: __property void set_IsEnabled(bool); [JScript] public function get IsEnabled() : Boolean; public function set IsEnabled(Boolean);
true if tracing is enabled; otherwise, false. Default is false.
TraceContext Class | TraceContext Members | System.Web Namespace