What is the list of trace sources provided by the .Net infrastructure?

.Net defines the concept of "Trace Source" by allowing configuration files to specify trace sources for listening to messages. WCF provides several trace sources, and I assume that other parts of the .Net Framework BCL publish other trace sources. What is the list of trace sources published by BCL?

+6
tracing
source share
2 answers

Not including WPF and WWF, I see:

  • "System.Net"
  • "System.Net.HttpListener"
  • "System.Net.Sockets"
  • "System.Net.Cache"
  • "System.Runtime.Serialization.CodeGeneration"
  • "System.ServiceModel.OperationInvoker.CodeGeneration"
  • "System.ServiceModel.MessageLogging"

And one for VB.NET My.Application.Log

Note that these are trace source names, not class names. You can use Reflector Red Gate to find it yourself.

+3
source share

Some More (includes Hans answer):

  • Card space
  • Microsoft.Transactions.Bridge
  • System.Activities
  • System.Activities.Core.Presentation
  • System.Activities.DurableInstancing
  • System.Activities.Presentation
  • System.ComponentModel.Composition
  • System.IdentityModel
  • System.IO.log
  • System.net
  • System.Net.Cache
  • System.Net.Http
  • System.Net.HttpListener
  • System.Net.Sockets
  • System.Net.WebSockets
  • System.Runtime
  • System.Runtime.Serialization
  • System.Runtime.Serialization.CodeGeneration
  • System.Security.Cryptography.Xml.SignedXml
  • System.ServiceModel
  • System.ServiceModel.Activation
  • System.ServiceModel.MessageLogging
  • System.ServiceModel.OperationInvoker.CodeGeneration
  • System.ServiceModel.Routing
  • System.Transactions
  • System.Web.Services.Asmx
  • System.Windows.Data li>
  • System.Windows.DependencyProperty
  • System.Windows.Documents
  • System.Windows.Freezable
  • System.Windows.Interop.HwndHost
  • System.Windows.Markup
  • System.Windows.Media.Animation
  • System.Windows.NameScope
  • System.Windows.ResourceDictionary
  • System.Windows.RoutedEvent
  • System.Windows.Shell
  • System.Workflow.Activities
  • System.Workflow.Activities.Rules
  • System.Xaml.Hosting
+8
source share

All Articles