1 write to sourceName
System.Diagnostics.EventLog (1)
System\Diagnostics\EventLogInternal.cs (1)
117
this.
sourceName
= source;
8 references to sourceName
System.Diagnostics.EventLog (8)
System\Diagnostics\EventLog.cs (1)
114
EventLogInternal newLog = new EventLogInternal(_underlyingEventLog.logName, value, _underlyingEventLog.
sourceName
, this);
System\Diagnostics\EventLogInternal.cs (7)
227
if (string.IsNullOrEmpty(logName) && !string.IsNullOrEmpty(
sourceName
))
229
logName = EventLog._InternalLogNameFromSourceName(
sourceName
, currentMachineName);
404
return
sourceName
;
1096
if (string.IsNullOrEmpty(
sourceName
))
1099
SafeEventLogWriteHandle handle = Interop.Advapi32.RegisterEventSource(currentMachineName,
sourceName
);
1108
throw new InvalidOperationException(SR.Format(SR.CantOpenLogAccess,
sourceName
), e);
1317
VerifyAndCreateSource(
sourceName
, currentMachineName);