Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventRecordWrittenEventArgs::EventException Property

 

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:
property Exception^ EventException {
	Exception^ 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
Show:
© 2017 Microsoft