VB.NET - Explain how to configure Trace switches in the application's .config file.

Explain how to configure Trace switches in the application's .config file.

<configuration>
      <system.diagnostics>
      <switches>
            <add name="DataMessagesSwitch" value="0" />
            <add name="TraceLevelSwitch" value="0" />
      </switches>
      </system.diagnostics>
</configuration>

Both switches are off, to turn them on , replace 0 by 1.
VB.NET - What is the purpose of AddHandler keyword?
What is the purpose of AddHandler keyword? - Addhandler associates an event with its handler at runtime......
VB.NET - how to implement globalization and localization in the use interface
How to implement globalization and localization in the use interface - Application use locale to identify the language and country of the user......
How to dynamically add items to a menu in .NET
How to dynamically add items to a menu in .NET
Post your comment