InvalidCommandTreeException 建構函式

定義

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

多載

名稱 Description
InvalidCommandTreeException()

初始化一個新的類別實例 InvalidCommandTreeException ,並以預設訊息。

InvalidCommandTreeException(String)

初始化一個新的類別實例 InvalidCommandTreeException ,並以指定訊息進行。

InvalidCommandTreeException(String, Exception)

初始化類別的新實例 InvalidCommandTreeException ,並帶有指定的訊息與內部例外。

InvalidCommandTreeException()

初始化一個新的類別實例 InvalidCommandTreeException ,並以預設訊息。

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

適用於

InvalidCommandTreeException(String)

初始化一個新的類別實例 InvalidCommandTreeException ,並以指定訊息進行。

public:
 InvalidCommandTreeException(System::String ^ message);
public InvalidCommandTreeException(string message);
new System.Data.InvalidCommandTreeException : string -> System.Data.InvalidCommandTreeException
Public Sub New (message As String)

參數

message
String

例外狀況訊息。

適用於

InvalidCommandTreeException(String, Exception)

初始化類別的新實例 InvalidCommandTreeException ,並帶有指定的訊息與內部例外。

public:
 InvalidCommandTreeException(System::String ^ message, Exception ^ innerException);
public InvalidCommandTreeException(string message, Exception innerException);
new System.Data.InvalidCommandTreeException : string * Exception -> System.Data.InvalidCommandTreeException
Public Sub New (message As String, innerException As Exception)

參數

message
String

例外狀況訊息。

innerException
Exception

這個例外就是造成這種情況 InvalidCommandTreeException的原因。

適用於