Bewerken

EventLogReadingException Class

Definition

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
EventLogReadingException

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)

Applies to