PageInstrumentationService.IsEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.