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
Available since 3.5
Return to top
Show: