6 instantiations of EventLog
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
113EventLog xamlFilterEventLog = new EventLog();
System (4)
services\monitoring\system\diagnosticts\EventLog.cs (3)
630EventLog logToClear = new EventLog(logName, machineName); 1011EventLog log = new EventLog(logNames[i], machineName); 1021EventLog log = new EventLog(logNames[i], machineName);
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (1)
49eventLog = new EventLog();
System.Web.DataVisualization (1)
WebForm\ChartWebControl.cs (1)
903EventLog eventLog = new EventLog();
43 references to EventLog
PresentationFramework (1)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
113EventLog xamlFilterEventLog = new EventLog();
System (37)
services\monitoring\system\diagnosticts\EntryWrittenEventArgs.cs (1)
16/// Provides data for the <see cref='System.Diagnostics.EventLog.EntryWritten'/> event.
services\monitoring\system\diagnosticts\EventLog.cs (15)
93/// Initializes a new instance of the <see cref='System.Diagnostics.EventLog'/> 269/// calls issued as a result of an <see cref='System.Diagnostics.EventLog'/> 366/// specified <see cref='System.Diagnostics.EventLog.Source'/> , as a valid event source for 378/// <see cref='System.Diagnostics.EventLog.Source'/> as a valid event source for writing 630EventLog logToClear = new EventLog(logName, machineName); 954/// creates an array of <see cref='System.Diagnostics.EventLog'/> 959public static EventLog[] GetEventLogs() { 966/// creates an array of <see cref='System.Diagnostics.EventLog'/> 973public static EventLog[] GetEventLogs(string machineName) { 1009EventLog[] logs = new EventLog[logNames.Length]; 1011EventLog log = new EventLog(logNames[i], machineName); 1019List<EventLog> logs = new List<EventLog>(logNames.Length); 1021EventLog log = new EventLog(logNames[i], machineName);
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
474eventKey = EventLog.GetEventLogRegKey(machineName, false);
services\monitoring\system\diagnosticts\EventLogInternal.cs (17)
87private readonly EventLog parent; 135/// Initializes a new instance of the <see cref='System.Diagnostics.EventLog'/> 164public EventLogInternal(string logName, string machineName, string source, EventLog parent) { 269PermissionSet permissionSet = EventLog._UnsafeGetAssertPermSet(); 328logName = EventLog._InternalLogNameFromSourceName(sourceName, currentMachineName); 380PermissionSet permissionSet = EventLog._UnsafeGetAssertPermSet(); 501/// calls issued as a result of an <see cref='System.Diagnostics.EventLog'/> 858msg = EventLog.TryFormatMessage(hModule, messageNum, insertionStrings); 1182PermissionSet permissionSet = EventLog._UnsafeGetAssertPermSet(); 1260PermissionSet permissionSet = EventLog._UnsafeGetAssertPermSet(); 1289if (!EventLog.Exists(logname, currentMachineName) ) // do not open non-existing Log [Microsoft] 1353PermissionSet permissionSet = EventLog._UnsafeGetAssertPermSet(); 1514if (!EventLog.SourceExists(sourceName, currentMachineName, true)) { 1519if (!EventLog.SourceExists(sourceName, currentMachineName, true)) { 1524EventLog.CreateEventSource(new EventSourceCreationData(sourceName, GetLogName(currentMachineName), currentMachineName)); 1533string rightLogName = EventLog.LogNameFromSourceName(sourceName, currentMachineName); 1551string rightLogName = EventLog._InternalLogNameFromSourceName(sourceName, currentMachineName);
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (3)
25private EventLog eventLog; 39public EventLogTraceListener(EventLog eventLog) 56public EventLog EventLog {
System.Transactions (1)
System\Transactions\Trace\DiagnosticTrace.cs (1)
519EventLog.WriteEntry(DiagnosticTrace.EventLogSourceName, message, EventLogEntryTypeFromEventType(type));
System.Web.DataVisualization (3)
WebForm\ChartWebControl.cs (3)
897if (!EventLog.SourceExists(eventSource)) 899EventLog.CreateEventSource(eventSource, "Application"); 903EventLog eventLog = new EventLog();
System.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
246EventLog.WriteEntry("XmlSerializer", message, type);