EventRecordWrittenEventArgs.EventRecord Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the event record that is published to the event log. This event matches the criteria from the query specified in the event subscription.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public EventRecord EventRecord { get; }

Property Value

Type: System.Diagnostics.Eventing.Reader.EventRecord

Returns a EventRecord object.

.NET Framework
Available since 3.5

EventRecordWrittenEventArgs Class
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top