Share via


EventFileInvalidException Constructors

Definition

Initializes a new instance of the EventFileInvalidException class.

Overloads

EventFileInvalidException()

Initializes a new instance of the EventFileInvalidException class using default values.

EventFileInvalidException(String)

Initializes a new instance of the EventFileInvalidException class with specified error message.

EventFileInvalidException(SerializationInfo, StreamingContext)

Initializes a new instance of the EventFileInvalidException class with specified serialization and context information.

EventFileInvalidException(String, Exception)

Initializes a new instance of the EventFileInvalidException class with specified error message and a reference to the inner exception that is the cause of this exception.

EventFileInvalidException(String, String)

Initializes a new instance of the EventFileInvalidException class with specified error message and error number.

EventFileInvalidException()

Initializes a new instance of the EventFileInvalidException class using default values.

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

Applies to

EventFileInvalidException(String)

Initializes a new instance of the EventFileInvalidException class with specified error message.

public:
 EventFileInvalidException(System::String ^ message);
public EventFileInvalidException (string message);
new Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException : string -> Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

EventFileInvalidException(SerializationInfo, StreamingContext)

Initializes a new instance of the EventFileInvalidException class with specified serialization and context information.

protected:
 EventFileInvalidException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EventFileInvalidException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization.

context
StreamingContext

The context information.

Applies to

EventFileInvalidException(String, Exception)

Initializes a new instance of the EventFileInvalidException class with specified error message and a reference to the inner exception that is the cause of this exception.

public:
 EventFileInvalidException(System::String ^ message, Exception ^ inner);
public EventFileInvalidException (string message, Exception inner);
new Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException : string * Exception -> Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The error message.

inner
Exception

The inner exception.

Applies to

EventFileInvalidException(String, String)

Initializes a new instance of the EventFileInvalidException class with specified error message and error number.

public:
 EventFileInvalidException(System::String ^ message, System::String ^ fileName);
public EventFileInvalidException (string message, string fileName);
new Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException : string * string -> Microsoft.SqlServer.XEvent.Linq.EventFileInvalidException
Public Sub New (message As String, fileName As String)

Parameters

message
String

The error message.

fileName
String

The error number.

Applies to