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