EventRecordWrittenEventArgs.EventException 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 exception that occurred when the event subscription failed. The exception has a description of why the subscription failed.

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

public Exception EventException { get; }

Property Value

Type: System.Exception

Returns an Exception 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