1 instantiation of EtwDiagnosticTrace
System.ServiceModel.Internals (1)
System\Runtime\Fx.cs (1)
83
EtwDiagnosticTrace trace = new
EtwDiagnosticTrace
(defaultEventSource, EtwDiagnosticTrace.DefaultEtwProviderId);
81 references to EtwDiagnosticTrace
System.ServiceModel.Internals (81)
System\Runtime\ActionItem.cs (4)
255
this.activityId =
EtwDiagnosticTrace
.ActivityId;
291
Guid currentActivityId =
EtwDiagnosticTrace
.ActivityId;
294
EtwDiagnosticTrace
.ActivityId = this.activityId;
299
EtwDiagnosticTrace
.ActivityId = currentActivityId;
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (19)
126
return
EtwDiagnosticTrace
.defaultEtwProviderId;
134
EtwDiagnosticTrace
.defaultEtwProviderId = value;
209
EtwDiagnosticTrace
.traceAnnotation = annotation;
232
EventDescriptor eventDescriptor =
EtwDiagnosticTrace
.GetEventDescriptor(eventId, channel, traceEventLevel);
254
EtwDiagnosticTrace
.ActivityId = newId;
262
Guid oldId =
EtwDiagnosticTrace
.ActivityId;
272
if (this.IsEtwEventEnabled(ref
EtwDiagnosticTrace
.transferEventDescriptor, false))
274
this.etwProvider.WriteTransferEvent(ref
EtwDiagnosticTrace
.transferEventDescriptor, new EventTraceActivity(oldId), newId,
275
EtwDiagnosticTrace
.traceAnnotation == null ? string.Empty :
EtwDiagnosticTrace
.traceAnnotation(),
303
EtwDiagnosticTrace
.GenerateLegacyTraceCode(ref eventDescriptor, out msdnTraceCode, out legacyEventId);
340
writer.WriteAttributeString(DiagnosticStrings.NamespaceTag,
EtwDiagnosticTrace
.TraceRecordVersion);
343
writer.WriteAttributeString(DiagnosticStrings.ChannelTag,
EtwDiagnosticTrace
.LookupChannel((TraceChannel)eventDescriptor.Channel));
502
if (getServiceReference && (
EtwDiagnosticTrace
.traceAnnotation != null))
504
return new TracePayload(serializedException, eventSource, DiagnosticTraceBase.AppDomainFriendlyName, extendedData,
EtwDiagnosticTrace
.traceAnnotation());
554
if (etwProviderId != Guid.Empty &&
EtwDiagnosticTrace
.isVistaOrGreater)
883
int minXmlLength = (localName.Length * 2) +
EtwDiagnosticTrace
.XmlBracketsLength;
900
xmlElementLength = localName.Length +
EtwDiagnosticTrace
.XmlBracketsLengthForNullValue;
905
xmlElementLength = (localName.Length * 2) +
EtwDiagnosticTrace
.XmlBracketsLength + value.Length;
System\Runtime\ExceptionTrace.cs (2)
22
readonly
EtwDiagnosticTrace
diagnosticTrace;
24
public ExceptionTrace(string eventSourceName,
EtwDiagnosticTrace
diagnosticTrace)
System\Runtime\Fx.cs (6)
43
static
EtwDiagnosticTrace
diagnosticTrace;
63
public static
EtwDiagnosticTrace
Trace
81
static
EtwDiagnosticTrace
InitializeTracing()
83
EtwDiagnosticTrace
trace = new EtwDiagnosticTrace(defaultEventSource,
EtwDiagnosticTrace
.DefaultEtwProviderId);
531
static void UpdateLevel(
EtwDiagnosticTrace
trace)
TraceCore.Designer.cs (50)
66
internal static bool AppDomainUnloadIsEnabled(
EtwDiagnosticTrace
trace)
79
internal static void AppDomainUnload(
EtwDiagnosticTrace
trace, string appdomainName, string processName, string processId)
98
internal static bool HandledExceptionIsEnabled(
EtwDiagnosticTrace
trace)
110
internal static void HandledException(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
129
internal static bool ShipAssertExceptionMessageIsEnabled(
EtwDiagnosticTrace
trace)
140
internal static void ShipAssertExceptionMessage(
EtwDiagnosticTrace
trace, string param0)
159
internal static bool ThrowingExceptionIsEnabled(
EtwDiagnosticTrace
trace)
172
internal static void ThrowingException(
EtwDiagnosticTrace
trace, string param0, string param1, System.Exception exception)
191
internal static bool UnhandledExceptionIsEnabled(
EtwDiagnosticTrace
trace)
203
internal static void UnhandledException(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
222
internal static bool TraceCodeEventLogCriticalIsEnabled(
EtwDiagnosticTrace
trace)
233
internal static void TraceCodeEventLogCritical(
EtwDiagnosticTrace
trace, TraceRecord traceRecord)
252
internal static bool TraceCodeEventLogErrorIsEnabled(
EtwDiagnosticTrace
trace)
263
internal static void TraceCodeEventLogError(
EtwDiagnosticTrace
trace, TraceRecord traceRecord)
282
internal static bool TraceCodeEventLogInfoIsEnabled(
EtwDiagnosticTrace
trace)
293
internal static void TraceCodeEventLogInfo(
EtwDiagnosticTrace
trace, TraceRecord traceRecord)
312
internal static bool TraceCodeEventLogVerboseIsEnabled(
EtwDiagnosticTrace
trace)
323
internal static void TraceCodeEventLogVerbose(
EtwDiagnosticTrace
trace, TraceRecord traceRecord)
342
internal static bool TraceCodeEventLogWarningIsEnabled(
EtwDiagnosticTrace
trace)
353
internal static void TraceCodeEventLogWarning(
EtwDiagnosticTrace
trace, TraceRecord traceRecord)
372
internal static bool HandledExceptionWarningIsEnabled(
EtwDiagnosticTrace
trace)
384
internal static void HandledExceptionWarning(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
403
internal static bool BufferPoolAllocationIsEnabled(
EtwDiagnosticTrace
trace)
414
internal static void BufferPoolAllocation(
EtwDiagnosticTrace
trace, int Size)
428
internal static bool BufferPoolChangeQuotaIsEnabled(
EtwDiagnosticTrace
trace)
440
internal static void BufferPoolChangeQuota(
EtwDiagnosticTrace
trace, int PoolSize, int Delta)
454
internal static bool ActionItemScheduledIsEnabled(
EtwDiagnosticTrace
trace)
465
internal static void ActionItemScheduled(
EtwDiagnosticTrace
trace, System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity)
479
internal static bool ActionItemCallbackInvokedIsEnabled(
EtwDiagnosticTrace
trace)
490
internal static void ActionItemCallbackInvoked(
EtwDiagnosticTrace
trace, System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity)
504
internal static bool HandledExceptionErrorIsEnabled(
EtwDiagnosticTrace
trace)
516
internal static void HandledExceptionError(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
535
internal static bool HandledExceptionVerboseIsEnabled(
EtwDiagnosticTrace
trace)
547
internal static void HandledExceptionVerbose(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
566
internal static bool EtwUnhandledExceptionIsEnabled(
EtwDiagnosticTrace
trace)
578
internal static void EtwUnhandledException(
EtwDiagnosticTrace
trace, string param0, System.Exception exception)
592
internal static bool ThrowingEtwExceptionIsEnabled(
EtwDiagnosticTrace
trace)
605
internal static void ThrowingEtwException(
EtwDiagnosticTrace
trace, string param0, string param1, System.Exception exception)
619
internal static bool ThrowingEtwExceptionVerboseIsEnabled(
EtwDiagnosticTrace
trace)
632
internal static void ThrowingEtwExceptionVerbose(
EtwDiagnosticTrace
trace, string param0, string param1, System.Exception exception)
646
internal static bool ThrowingExceptionVerboseIsEnabled(
EtwDiagnosticTrace
trace)
659
internal static void ThrowingExceptionVerbose(
EtwDiagnosticTrace
trace, string param0, string param1, System.Exception exception)
738
static bool IsEtwEventEnabled(
EtwDiagnosticTrace
trace, int eventIndex)
761
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, string eventParam1, string eventParam2, string eventParam3, string eventParam4)
779
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, string eventParam1, string eventParam2, string eventParam3)
796
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, string eventParam1, string eventParam2)
813
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, int eventParam1, string eventParam2)
831
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, int eventParam1, int eventParam2, string eventParam3)
847
static bool WriteEtwEvent(
EtwDiagnosticTrace
trace, int eventIndex, System.Runtime.Diagnostics.EventTraceActivity eventParam0, string eventParam1)
863
static void WriteTraceSource(
EtwDiagnosticTrace
trace, int eventIndex, string description, TracePayload payload)