EventLogNotFoundException EventLogNotFoundException EventLogNotFoundException EventLogNotFoundException Constructors

Definition

Overloads

EventLogNotFoundException() EventLogNotFoundException() EventLogNotFoundException()

Initializes a new instance of the EventLogNotFoundException class.

EventLogNotFoundException(String) EventLogNotFoundException(String) EventLogNotFoundException(String) EventLogNotFoundException(String)

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

EventLogNotFoundException(SerializationInfo, StreamingContext) EventLogNotFoundException(SerializationInfo, StreamingContext) EventLogNotFoundException(SerializationInfo, StreamingContext)

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

EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception)

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

EventLogNotFoundException() EventLogNotFoundException() EventLogNotFoundException()

Initializes a new instance of the EventLogNotFoundException class.

public:
 EventLogNotFoundException();
public EventLogNotFoundException ();
Public Sub New ()

EventLogNotFoundException(String) EventLogNotFoundException(String) EventLogNotFoundException(String) EventLogNotFoundException(String)

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

public:
 EventLogNotFoundException(System::String ^ message);
public EventLogNotFoundException (string message);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : string -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
Public Sub New (message As String)

Parameters

message
String String String String

The error message that describes the current exception.

EventLogNotFoundException(SerializationInfo, StreamingContext) EventLogNotFoundException(SerializationInfo, StreamingContext) EventLogNotFoundException(SerializationInfo, StreamingContext)

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

protected:
 EventLogNotFoundException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected EventLogNotFoundException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException

Parameters

serializationInfo
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception thrown.

streamingContext
StreamingContext StreamingContext StreamingContext StreamingContext

The StreamingContext object that contains contextual information about the source or destination.

EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception) EventLogNotFoundException(String, Exception)

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

public:
 EventLogNotFoundException(System::String ^ message, Exception ^ innerException);
public EventLogNotFoundException (string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogNotFoundException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

The error message that describes the current exception.

innerException
Exception Exception Exception Exception

The Exception instance that caused the current exception.

Applies to