.Net框架提供的跟踪源列表是什么?

Jos*_*shL 8 .net trace

.Net定义了"跟踪源"概念,允许配置文件指定要侦听消息的跟踪源.WCF提供了几个跟踪源,我认为.Net Framework BCL的其他部分也会发布其他跟踪源.BCL发布的跟踪源名称列表是什么?

Rag*_*dda 9

更多(包括汉斯回答):

  • CardSpace的
  • 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
  • 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


Han*_*ant 4

不包括 WPF 和 WWF,我看到:

  • “系统网”
  • “系统.Net.HttpListener”
  • “系统.网络.套接字”
  • “系统.Net.缓存”
  • “系统.运行时.序列化.代码生成”
  • “系统.ServiceModel.OperationInvoker.CodeGeneration”
  • “系统.ServiceModel.MessageLogging”

还有一个用于 VB.NET 的 My.Application.Log

请注意,这些是跟踪源名称,而不是类名称。您可以使用 Red Gate 的 Reflector 自行找到它。