4 writes to EventId
mscorlib (4)
system\diagnostics\eventing\eventsource.cs (3)
1426
eventCallbackArgs.
EventId
= 0;
2164
eventCallbackArgs.
EventId
= eventId;
2270
eventCallbackArgs.
EventId
= 0;
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (1)
700
eventCallbackArgs.
EventId
= -1;
20 references to EventId
mscorlib (20)
system\diagnostics\eventing\eventsource.cs (20)
4765
if (m_eventName != null ||
EventId
< 0) // TraceLogging convention EventID == -1
4770
return m_eventSource.m_eventData[
EventId
].Name;
4831
Contract.Assert(
EventId
!= -1);
4834
foreach (var parameter in m_eventSource.m_eventData[
EventId
].Parameters)
4862
if (
EventId
< 0) // TraceLogging convention EventID == -1
4865
return (EventKeywords)m_eventSource.m_eventData[
EventId
].Descriptor.Keywords;
4876
if (
EventId
< 0) // TraceLogging convention EventID == -1
4878
return (EventOpcode)m_eventSource.m_eventData[
EventId
].Descriptor.Opcode;
4889
if (
EventId
< 0) // TraceLogging convention EventID == -1
4892
return (EventTask)m_eventSource.m_eventData[
EventId
].Descriptor.Task;
4903
if (
EventId
< 0) // TraceLogging convention EventID == -1
4905
return m_eventSource.m_eventData[
EventId
].Tags;
4916
if (
EventId
< 0) // TraceLogging convention EventID == -1
4919
return m_eventSource.m_eventData[
EventId
].Message;
4936
if (
EventId
< 0) // TraceLogging convention EventID == -1
4938
return (EventChannel)m_eventSource.m_eventData[
EventId
].Descriptor.Channel;
4950
if (
EventId
< 0) // TraceLogging convention EventID == -1
4952
return m_eventSource.m_eventData[
EventId
].Descriptor.Version;
4963
if (
EventId
< 0) // TraceLogging convention EventID == -1
4965
return (EventLevel)m_eventSource.m_eventData[
EventId
].Descriptor.Level;