EventLogInvalidDataException 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 the exception thrown when an event provider publishes invalid data in an event.
public ref class EventLogInvalidDataException : System::Diagnostics::Eventing::Reader::EventLogException
public class EventLogInvalidDataException : System.Diagnostics.Eventing.Reader.EventLogException
type EventLogInvalidDataException = class
inherit EventLogException
Public Class EventLogInvalidDataException
Inherits EventLogException
- Inheritance
Constructors
| Name | Description |
|---|---|
| EventLogInvalidDataException() |
Initializes a new instance of the EventLogInvalidDataException class. |
| EventLogInvalidDataException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the EventLogInvalidDataException class with serialized data. |
| EventLogInvalidDataException(String, Exception) |
Initializes a new instance of the EventLogInvalidDataException class with an error message and inner exception. |
| EventLogInvalidDataException(String) |
Initializes a new instance of the EventLogInvalidDataException 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) |