InstAPIException 建構函式

定義

初始化 InstAPIException 類別的新執行個體。

多載

名稱 Description
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

內心的例外。

適用於