23 instantiations of EventDescriptor
System.ServiceModel.Internals (23)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (2)
49
static EventDescriptor transferEventDescriptor = new
EventDescriptor
(499, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.LogAlways, (byte)TraceEventOpcode.Info, 0x0, 0x20000000001A0065);
603
return new
EventDescriptor
(eventId, 0x0, (byte)channel, (byte)traceEventLevel, 0x0, 0x0, (long)keyword);
TraceCore.Designer.cs (21)
682
new System.Runtime.Diagnostics.
EventDescriptor
(57393, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
683
new System.Runtime.Diagnostics.
EventDescriptor
(57394, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
684
new System.Runtime.Diagnostics.
EventDescriptor
(57395, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Error, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
685
new System.Runtime.Diagnostics.
EventDescriptor
(57396, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
686
new System.Runtime.Diagnostics.
EventDescriptor
(57397, 0, (byte)TraceChannel.Operational, (byte)TraceEventLevel.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
687
new System.Runtime.Diagnostics.
EventDescriptor
(57399, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
688
new System.Runtime.Diagnostics.
EventDescriptor
(57400, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Error, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
689
new System.Runtime.Diagnostics.
EventDescriptor
(57401, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
690
new System.Runtime.Diagnostics.
EventDescriptor
(57402, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
691
new System.Runtime.Diagnostics.
EventDescriptor
(57403, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
692
new System.Runtime.Diagnostics.
EventDescriptor
(57404, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
693
new System.Runtime.Diagnostics.
EventDescriptor
(131, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Verbose, (byte)12, 0x9cd, 0x1000000000010000),
694
new System.Runtime.Diagnostics.
EventDescriptor
(132, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Verbose, (byte)13, 0x9cd, 0x1000000000010000),
695
new System.Runtime.Diagnostics.
EventDescriptor
(133, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Start, 0xa21, 0x1000000000200000),
696
new System.Runtime.Diagnostics.
EventDescriptor
(134, 0, (byte)TraceChannel.Debug, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Stop, 0xa21, 0x1000000000200000),
697
new System.Runtime.Diagnostics.
EventDescriptor
(57405, 0, (byte)TraceChannel.Operational, (byte)TraceEventLevel.Error, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
698
new System.Runtime.Diagnostics.
EventDescriptor
(57406, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
699
new System.Runtime.Diagnostics.
EventDescriptor
(57408, 0, (byte)TraceChannel.Operational, (byte)TraceEventLevel.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
700
new System.Runtime.Diagnostics.
EventDescriptor
(57410, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
701
new System.Runtime.Diagnostics.
EventDescriptor
(57409, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
702
new System.Runtime.Diagnostics.
EventDescriptor
(57407, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000)};
55 references to EventDescriptor
System.ServiceModel.Internals (55)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (6)
204
public bool IsEventEnabled(ref
EventDescriptor
eventDescriptor)
453
public bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, params object[] eventPayload)
646
public bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string data)
702
internal protected bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, int dataCount, IntPtr data)
732
public bool WriteTransferEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid relatedActivityId, params object[] eventPayload)
864
protected bool WriteTransferEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid relatedActivityId, int dataCount, IntPtr data)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (9)
49
static
EventDescriptor
transferEventDescriptor = new EventDescriptor(499, 0, (byte)TraceChannel.Analytic, (byte)TraceEventLevel.LogAlways, (byte)TraceEventOpcode.Info, 0x0, 0x20000000001A0065);
232
EventDescriptor
eventDescriptor = EtwDiagnosticTrace.GetEventDescriptor(eventId, channel, traceEventLevel);
239
public void Event(ref
EventDescriptor
eventDescriptor, string description)
294
public void WriteTraceSource(ref
EventDescriptor
eventDescriptor, string description, TracePayload payload)
330
static string BuildTrace(ref
EventDescriptor
eventDescriptor, string description, TracePayload payload, string msdnTraceCode)
380
static void GenerateLegacyTraceCode(ref
EventDescriptor
eventDescriptor, out string msdnTraceCode, out int legacyEventId)
513
public bool IsEtwEventEnabled(ref
EventDescriptor
eventDescriptor)
521
public bool IsEtwEventEnabled(ref
EventDescriptor
eventDescriptor, bool fullCheck)
577
static
EventDescriptor
GetEventDescriptor(int eventId, TraceChannel channel, TraceEventLevel traceEventLevel)
System\Runtime\Diagnostics\EtwProvider.cs (28)
64
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, string value2, string value3)
95
internal unsafe bool WriteTransferEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid relatedActivityId, string value1, string value2)
123
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2)
151
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3)
183
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4)
219
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
260
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
305
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
355
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
409
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
467
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
529
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
595
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
665
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, string value2, string value3, string value4,
739
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, int value1)
759
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, int value1, int value2)
782
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, int value1, int value2, int value3)
808
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, long value1)
828
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, long value1, long value2)
851
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, long value1, long value2, long value3)
878
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
959
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1049
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1104
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1167
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1238
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1313
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, Guid value1, long value2, long value3, string value4,
1385
internal unsafe bool WriteEvent(ref
EventDescriptor
eventDescriptor, EventTraceActivity eventTraceActivity, string value1, long value2, string value3, string value4)
System\Runtime\Diagnostics\EventDescriptor.cs (7)
127
if (!(obj is
EventDescriptor
))
130
return Equals((
EventDescriptor
)obj);
138
public bool Equals(
EventDescriptor
other)
153
public static bool operator ==(
EventDescriptor
event1,
EventDescriptor
event2)
158
public static bool operator !=(
EventDescriptor
event1,
EventDescriptor
event2)
System\Runtime\Interop\UnsafeNativeMethods.cs (3)
186
internal static extern bool EventEnabled([In] long registrationHandle, [In] ref
EventDescriptor
eventDescriptor);
194
[In] ref
EventDescriptor
eventDescriptor,
205
[In] ref
EventDescriptor
eventDescriptor,
TraceCore.Designer.cs (2)
24
static System.Runtime.Diagnostics.
EventDescriptor
[] eventDescriptors;
681
eventDescriptors = new System.Runtime.Diagnostics.
EventDescriptor
[] {