语言

EventFileIOException 构造函数

定义

初始化 EventFileIOException 类的新实例。

重载

名称 说明
EventFileIOException()

使用默认值初始化类的新实例 EventFileIOException 。

EventFileIOException(String)

初始化该类的新实例 EventFileIOException ,并指定异常消息

EventFileIOException(SerializationInfo, StreamingContext)

初始化一个包含指定信息和上下文的类新实例 EventFileIOException 。

EventFileIOException(String, Exception)

初始化一个新的类实例 EventFileIOException ,并指定错误消息并引用导致该异常的内部异常。

EventFileIOException(String, Int32)

初始化一个新的类实例 EventFileIOException ,指定错误消息和错误编号。

EventFileIOException(String, Int32, String)

初始化一个新的类实例 EventFileIOException ,包含指定的错误消息、错误编号及其所指文件名。

EventFileIOException()

使用默认值初始化类的新实例 EventFileIOException 。

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

适用于

EventFileIOException(String)

初始化该类的新实例 EventFileIOException ,并指定异常消息

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)

参数

message
String

异常消息。

适用于

EventFileIOException(SerializationInfo, StreamingContext)

初始化一个包含指定信息和上下文的类新实例 EventFileIOException 。

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)

参数

info
SerializationInfo

例外信息。

context
StreamingContext

上下文。

适用于

EventFileIOException(String, Exception)

初始化一个新的类实例 EventFileIOException ,并指定错误消息并引用导致该异常的内部异常。

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)

参数

message
String

错误消息。

inner
Exception

内部异常。

适用于

EventFileIOException(String, Int32)

初始化一个新的类实例 EventFileIOException ,指定错误消息和错误编号。

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)

参数

message
String

错误消息。

osError
Int32

错误编号。

适用于

EventFileIOException(String, Int32, String)

初始化一个新的类实例 EventFileIOException ,包含指定的错误消息、错误编号及其所指文件名。

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)

参数

message
String

错误消息

osError
Int32

错误编号

filename
String

文件名。

适用于