InstAPIException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 InstAPIException 类的新实例。
重载
| InstAPIException() |
初始化 InstAPIException 类的新实例。 |
| InstAPIException(String) |
使用指定的消息初始化 类的新实例 InstAPIException 。 |
| InstAPIException(SerializationInfo, StreamingContext) |
使用指定的信息和上下文初始化 InstAPIException 类的新实例。 |
| InstAPIException(String, Exception) |
使用指定的消息和内部异常初始化 类的新实例 InstAPIException 。 |
InstAPIException()
初始化 InstAPIException 类的新实例。
public:
InstAPIException();
public InstAPIException ();
Public Sub New ()
适用于
InstAPIException(String)
使用指定的消息初始化 类的新实例 InstAPIException 。
public:
InstAPIException(System::String ^ message);
public InstAPIException (string message);
new Microsoft.SqlServer.InstAPIException : string -> Microsoft.SqlServer.InstAPIException
Public Sub New (message As String)
参数
- message
- String
关于此异常的消息。
适用于
InstAPIException(SerializationInfo, StreamingContext)
使用指定的信息和上下文初始化 InstAPIException 类的新实例。
protected:
InstAPIException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstAPIException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.InstAPIException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.InstAPIException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
异常信息。
- context
- StreamingContext
上下文。
适用于
InstAPIException(String, Exception)
使用指定的消息和内部异常初始化 类的新实例 InstAPIException 。
public:
InstAPIException(System::String ^ message, Exception ^ innerException);
public InstAPIException (string message, Exception innerException);
new Microsoft.SqlServer.InstAPIException : string * Exception -> Microsoft.SqlServer.InstAPIException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
关于此异常的消息。
- innerException
- Exception
内部异常。