6 types derived from TraceListener
System (3)
compmod\system\diagnostics\DefaultTraceListener.cs (1)
26
public class DefaultTraceListener :
TraceListener
{
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
25
public class TextWriterTraceListener :
TraceListener
{
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (1)
24
public sealed class EventLogTraceListener :
TraceListener
{
System.Core (1)
System\Diagnostics\Eventing\EventProviderTraceListener.cs (1)
16
public class EventProviderTraceListener :
TraceListener
System.Web (2)
IisTraceListener.cs (1)
19
public sealed class IisTraceListener :
TraceListener
{
WebPageTraceListener.cs (1)
17
public class WebPageTraceListener :
TraceListener
{
100 references to TraceListener
System (97)
compmod\system\diagnostics\DefaultTraceListener.cs (1)
36
/// Default as its <see cref='System.Diagnostics.
TraceListener
.Name'/>.</para>
compmod\system\diagnostics\ListenerElementsCollection.cs (9)
126
public ListenerElement(bool allowReferences) : base(typeof(
TraceListener
)) {
207
public
TraceListener
GetRuntimeObject() {
209
return (
TraceListener
) _runtimeObject;
228
return (
TraceListener
) _runtimeObject;
233
TraceListener
newListener = (
TraceListener
) BaseGetRuntimeObject();
320
internal
TraceListener
RefreshRuntimeObject(
TraceListener
listener) {
339
return (
TraceListener
) _runtimeObject;
compmod\system\diagnostics\TraceInternal.cs (32)
46
TraceListener
defaultListener = new DefaultTraceListener();
106
foreach (
TraceListener
listener in Listeners) {
138
foreach (
TraceListener
listener in Listeners) {
152
foreach (
TraceListener
listener in Listeners) {
165
foreach (
TraceListener
listener in Listeners) {
175
foreach (
TraceListener
listener in Listeners) {
181
foreach (
TraceListener
listener in Listeners) {
199
foreach (
TraceListener
listener in Listeners) {
224
foreach (
TraceListener
listener in Listeners) {
231
foreach (
TraceListener
listener in Listeners) {
249
foreach (
TraceListener
listener in Listeners) {
256
foreach (
TraceListener
listener in Listeners) {
311
foreach (
TraceListener
listener in Listeners) {
317
foreach (
TraceListener
listener in Listeners) {
326
foreach (
TraceListener
listener in Listeners) {
340
foreach (
TraceListener
listener in Listeners) {
360
foreach (
TraceListener
listener in Listeners) {
367
foreach (
TraceListener
listener in Listeners) {
385
foreach (
TraceListener
listener in Listeners) {
392
foreach (
TraceListener
listener in Listeners) {
410
foreach (
TraceListener
listener in Listeners) {
417
foreach (
TraceListener
listener in Listeners) {
435
foreach (
TraceListener
listener in Listeners) {
442
foreach (
TraceListener
listener in Listeners) {
460
foreach (
TraceListener
listener in Listeners) {
467
foreach (
TraceListener
listener in Listeners) {
485
foreach (
TraceListener
listener in Listeners) {
492
foreach (
TraceListener
listener in Listeners) {
510
foreach (
TraceListener
listener in Listeners) {
517
foreach (
TraceListener
listener in Listeners) {
535
foreach (
TraceListener
listener in Listeners) {
542
foreach (
TraceListener
listener in Listeners) {
compmod\system\diagnostics\TraceListener.cs (11)
38
/// <para>Initializes a new instance of the <see cref='System.Diagnostics.
TraceListener
'/> class.</para>
44
/// <para>Initializes a new instance of the <see cref='System.Diagnostics.
TraceListener
'/> class using the specified name as the
60
/// <para> Gets or sets a name for this <see cref='System.Diagnostics.
TraceListener
'/>.</para>
210
/// <para>Writes the name of the <paramref name="o"/> parameter to the listener you specify when you inherit from the <see cref='System.Diagnostics.
TraceListener
'/>
223
/// inherit from the <see cref='System.Diagnostics.
TraceListener
'/>
238
/// specify when you inherit from the <see cref='System.Diagnostics.
TraceListener
'/>
253
/// inherit from the <see cref='System.Diagnostics.
TraceListener
'/>
254
/// class, and resets the <see cref='
TraceListener
.NeedIndent'/> property to <see langword='false'/>.</para>
277
/// <para>Writes the name of the <paramref name="o"/> parameter to the listener you specify when you inherit from the <see cref='System.Diagnostics.
TraceListener
'/> class, followed by a line terminator. The default line terminator is a
290
/// inherit from the <see cref='System.Diagnostics.
TraceListener
'/> class,
305
/// specify when you inherit from the <see cref='System.Diagnostics.
TraceListener
'/>
compmod\system\diagnostics\TraceListeners.cs (24)
25
/// <para>Gets or sets the <see cref='
TraceListener
'/> at
28
public
TraceListener
this[int i] {
30
return (
TraceListener
)list[i];
40
/// <para>Gets the first <see cref='System.Diagnostics.
TraceListener
'/> in the list with the specified name.</para>
42
public
TraceListener
this[string name] {
44
foreach (
TraceListener
listener in this) {
64
/// <para>Adds a <see cref='System.Diagnostics.
TraceListener
'/> to the list.</para>
66
public int Add(
TraceListener
listener) {
77
public void AddRange(
TraceListener
[] value) {
113
public bool Contains(
TraceListener
listener) {
121
public void CopyTo(
TraceListener
[] listeners, int index) {
134
internal void InitializeListener(
TraceListener
listener) {
145
public int IndexOf(
TraceListener
listener) {
152
public void Insert(int index,
TraceListener
listener) {
161
/// Removes the specified instance of the <see cref='System.Diagnostics.
TraceListener
'/> class from the list.
164
public void Remove(
TraceListener
listener) {
173
TraceListener
listener = this[name];
179
/// <para>Removes the <see cref='System.Diagnostics.
TraceListener
'/> at the specified index.</para>
194
TraceListener
listener = value as
TraceListener
;
219
TraceListener
listener = value as
TraceListener
;
242
TraceListener
listener = value as
TraceListener
;
compmod\system\diagnostics\TraceSource.cs (16)
122
foreach (
TraceListener
listener in listeners) {
134
foreach (
TraceListener
listener in listeners) {
140
foreach (
TraceListener
listener in listeners) {
213
TraceListener
listener = listeners[listenerElement.Name];
250
TraceListener
listener = listeners[i];
258
TraceListener
listener = listeners[i];
286
TraceListener
listener = listeners[i];
294
TraceListener
listener = listeners[i];
322
TraceListener
listener = listeners[i];
330
TraceListener
listener = listeners[i];
358
TraceListener
listener = listeners[i];
366
TraceListener
listener = listeners[i];
394
TraceListener
listener = listeners[i];
402
TraceListener
listener = listeners[i];
442
TraceListener
listener = listeners[i];
450
TraceListener
listener = listeners[i];
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (4)
186
TraceListener
newListener = null;
193
if (!typeof(
TraceListener
).IsAssignableFrom(t))
201
newListener = (
TraceListener
)(SecurityUtils.ConstructorInfoInvoke(ctorInfo, new object[] { }));
208
newListener = (
TraceListener
)(SecurityUtils.ConstructorInfoInvoke(ctorInfo, new object[] { initializeData }));
System.ServiceModel (1)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (1)
84
TraceListener
traceListener = traceSource.Listeners[i];
System.Workflow.Activities (1)
ActivityTrace.cs (1)
50
foreach (
TraceListener
listener in Trace.Listeners)
System.Workflow.ComponentModel (1)
AuthoringOM\Trace.cs (1)
87
foreach (
TraceListener
listener in Trace.Listeners)