共用方式為


EventFileIOException Constructors

Definition

Initializes a new instance of the EventFileIOException class.

Overloads

EventFileIOException()

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

EventFileIOException(String)

Initializes a new instance of the EventFileIOException class with specified exception message

EventFileIOException(SerializationInfo, StreamingContext)

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

EventFileIOException(String, Exception)

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

EventFileIOException(String, Int32)

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

EventFileIOException(String, Int32, String)

Initializes a new instance of the EventFileIOException class with a specified error message and an error number and the filename it refers to.

EventFileIOException()

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

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

Applies to

EventFileIOException(String)

Initializes a new instance of the EventFileIOException class with specified exception message

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

Parameters

message
String

The exception message.

Applies to

EventFileIOException(SerializationInfo, StreamingContext)

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

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

Parameters

info
SerializationInfo

The exception information.

context
StreamingContext

The context.

Applies to

EventFileIOException(String, Exception)

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

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

Parameters

message
String

The error message.

inner
Exception

The inner exception.

Applies to

EventFileIOException(String, Int32)

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

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

Parameters

message
String

The error message.

osError
Int32

The error number.

Applies to

EventFileIOException(String, Int32, String)

Initializes a new instance of the EventFileIOException class with a specified error message and an error number and the filename it refers to.

public:
 EventFileIOException(System::String ^ message, int osError, System::String ^ filename);
public EventFileIOException (string message, int osError, string filename);
new Microsoft.SqlServer.XEvent.Linq.EventFileIOException : string * int * string -> Microsoft.SqlServer.XEvent.Linq.EventFileIOException
Public Sub New (message As String, osError As Integer, filename As String)

Parameters

message
String

The error message

osError
Int32

The error number

filename
String

The filename.

Applies to