Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventLogException Constructor

Initializes a new instance of the EventLogException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method EventLogException() Initializes a new instance of the EventLogException class.
Protected method EventLogException(Int32) Initializes a new instance of the EventLogException class with the error code for the exception.
Public method EventLogException(String) Initializes a new instance of the EventLogException class by specifying the error message that describes the current exception.
Protected method EventLogException(SerializationInfo, StreamingContext) Initializes a new instance of the EventLogException class with serialized data.
Public method EventLogException(String, Exception) Initializes a new instance of the EventLogException class with an error message and inner exception.
Top
Show:
© 2015 Microsoft