PageInstrumentationService.IsEnabled Property

Definition

Gets or sets a value that indicates whether instrumentation is active for the entire application.

public:
 static property bool IsEnabled { bool get(); void set(bool value); };
public static bool IsEnabled { get; set; }
static member IsEnabled : bool with get, set
Public Shared Property IsEnabled As Boolean

Property Value

true to indicate that instrumentation is active for the entire application; otherwise, false.

Remarks

Page instrumentation is a per-request service, and it might not be active for a particular request. This flag must be set to true in order for any request to use page instrumentation.

Applies to