EventLog
EventLog()
EventLog(String)
EventLog(String, String)
EventLog(String, String, String)
EnableRaisingEvents
Entries
Log
LogDisplayName
MachineName
MaximumKilobytes
MinimumRetentionDays
OverflowAction
Source
SynchronizingObject
BeginInit()
Clear()
Close()
CreateEventSource(EventSourceCreationData)
CreateEventSource(String, String)
CreateEventSource(String, String, String)
Delete(String)
Delete(String, String)
DeleteEventSource(String)
DeleteEventSource(String, String)
Dispose(Boolean)
EndInit()
Exists(String)
Exists(String, String)
GetEventLogs()
GetEventLogs(String)
LogNameFromSourceName(String, String)
ModifyOverflowPolicy(OverflowAction, Int32)
RegisterDisplayName(String, Int64)
SourceExists(String)
SourceExists(String, String)
WriteEntry(String)
WriteEntry(String, EventLogEntryType)
WriteEntry(String, String)
WriteEntry(String, EventLogEntryType, Int32)
WriteEntry(String, String, EventLogEntryType)
WriteEntry(String, EventLogEntryType, Int32, Int16)
WriteEntry(String, String, EventLogEntryType, Int32)
WriteEntry(String, EventLogEntryType, Int32, Int16, Byte[])
WriteEntry(String, String, EventLogEntryType, Int32, Int16)
WriteEntry(String, String, EventLogEntryType, Int32, Int16, Byte[])
WriteEvent(EventInstance, Object[])
WriteEvent(EventInstance, Byte[], Object[])
WriteEvent(String, EventInstance, Object[])
WriteEvent(String, EventInstance, Byte[], Object[])
EntryWritten
net10.0-windows7.0
namespace System.Diagnostics
{
[DefaultEvent("EntryWritten")]
public class EventLog : Component, ISupportInitialize
{
public event EntryWrittenEventHandler EntryWritten;
}
}
| NetFx Compat Lab | 0.8 % Reference this API 0.8 % Subscribe to this event 0.5 % Unsubscribe from this event |
|---|---|
| nuget.org | 0.0 % Reference this API 0.0 % Subscribe to this event 0.0 % Unsubscribe from this event |
| Upgrade Planner | 0.0 % Reference this API 0.0 % Subscribe to this event 0.0 % Unsubscribe from this event |
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
| Assemblies | System.Diagnostics.EventLog , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Diagnostics.EventLog , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
| Referencing | Your project needs a package reference to |
| Package | System.Diagnostics.EventLog (10.0.0-preview.1.25080.5) net9.0 |
| Platform Restrictions | The event adder is only supported on the following platforms:
The event remover is only supported on the following platforms:
|
- Built-in API
- Package-provided API