EventFileIOException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
文件名。