<PackageReference Include="System.Diagnostics.EventLog" Version="10.0.0-preview.6.25358.103" />

EventLogInvalidDataException

Represents the exception thrown when an event provider publishes invalid data in an event.

Initializes a new instance of the EventLogInvalidDataException class.

protected EventLogInvalidDataException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Initializes a new instance of the EventLogInvalidDataException class with serialized data.

public EventLogInvalidDataException(string message)

Initializes a new instance of the EventLogInvalidDataException class by specifying the error message that describes the current exception.

public EventLogInvalidDataException(string message, Exception innerException)

Initializes a new instance of the EventLogInvalidDataException class with an error message and inner exception.