Unfortunately its failure model is a double-edged sword. Instead of throwing application-crashing exceptions, binding errors are quietly written to the trace listener.
然而遗憾的是,其失败模型是把双刃剑,它并不会抛出应用崩溃异常,而是将绑定错误直接写到追踪监听器当中。
When overridden in a derived class, determines whether the trace listener should trace the event.
在派生的类中进行重写时,确定跟踪侦听器是否应跟踪事件。
The following configuration file example shows how to initialize a console trace listener and a text writer trace listener for the trace source that is created in the preceding procedure.
下面的配置文件示例演示如何为在上述过程中创建的跟踪源初始化控制台跟踪侦听器和文本编写器跟踪侦听器。
应用推荐