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)

new : 
        message:string *
        innerException:Exception -> EventLogException

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:
© 2016 Microsoft