Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies whether to enable event tracing for Windows (ETW) for common language runtime events.
<configuration>
<runtime>
<etwEnabled>
<etwEnable enabled="true|false"/>
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
---|---|
enabled | Required attribute. Specifies whether ETW should be enabled. |
Value | Description |
---|---|
true | Enable ETW. This is the default for versions of Windows beginning with the Windows Vista and Windows Server 2008 operating systems. |
false | Disable ETW. This is the default for earlier versions of Windows. |
None.
Element | Description |
---|---|
configuration |
The root element in every configuration file used by the common language runtime and .NET Framework applications. |
runtime |
Contains information about assembly binding and garbage collection. |
Beginning with Windows Vista, ETW is enabled by default. Use this element to disable ETW for an application. In earlier versions of Windows, use this element to enable ETW for an application.
Note
ETW can be enabled or disabled globally on a server by using a registry setting. See Controlling .NET Framework Logging.
The following example shows how to enable ETW tracing for an application.
<configuration>
<runtime>
<etwEnable enabled="true" />
</runtime>
</configuration>
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now