Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EventLogException Constructor (String, Exception)

EventLogException Constructor (String, Exception)

Initializes a new instance of the EventLogException class with an error message and inner exception.

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

public:
EventLogException(
	String^ message, 
	Exception^ innerException
)

Parameters

message
Type: System::String

The error message that describes the current exception.

innerException
Type: System::Exception

The Exception instance that caused the current exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft