NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TraceContext.IsEnabled

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);

Property Value

true if tracing is enabled; otherwise, false. Default is false.

See Also

TraceContext Class | TraceContext Members | System.Web Namespace