Instructs the runtime to collect statistics on all application domains in the process for the life of the process.
The following sections describe attributes, child elements, and parent elements.
Specifies whether the runtime collects statistics for application domain resource monitoring.
Statistics for application domain resource monitoring are collected.
Statistics for application domain resource monitoring are not collected.
The root element in every configuration file used by the common language runtime and .NET Framework applications.
Contains information about assembly binding and garbage collection.
Application domain resource monitoring is available through the managed application domain class, the hosting ICLRAppDomainResourceMonitor interface, and event tracing for Windows (ETW). When monitoring is enabled, statistics are collected for all application domains in the process for the life of the process.
To enable monitoring from managed code, use the MonitoringIsEnabled property.
This configuration element is available only in the .NET Framework version 4 and later.
The following example shows how to enable application domain resource monitoring.
<configuration> <runtime> <appDomainResourceMonitoring enabled="true"/> </runtime> </configuration>