InvalidCommandTreeException 建構函式

定義

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

多載

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 的例外狀況。

適用於