EventLogReadingException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an exception that is thrown when an error occurred while reading, querying, or subscribing to the events in an event log.
public ref class EventLogReadingException : System::Diagnostics::Eventing::Reader::EventLogException
public class EventLogReadingException : System.Diagnostics.Eventing.Reader.EventLogException
type EventLogReadingException = class
inherit EventLogException
Public Class EventLogReadingException
Inherits EventLogException
- Inheritance
Remarks
This exception can be caused by an invalid event query.
Constructors
| Name | Description |
|---|---|
| EventLogReadingException() |
Initializes a new instance of the EventLogReadingException class. |
| EventLogReadingException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the EventLogReadingException class with serialized data. |
| EventLogReadingException(String, Exception) |
Initializes a new instance of the EventLogReadingException class with an error message and inner exception. |
| EventLogReadingException(String) |
Initializes a new instance of the EventLogReadingException class by specifying the error message that describes the current exception. |
Properties
| Name | Description |
|---|---|
| Message |
Gets the error message that describes the current exception. (Inherited from EventLogException) |
Methods
| Name | Description |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) |
Obsolete.
Sets the SerializationInfo object with information about the exception. (Inherited from EventLogException) |