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 的异常。

适用于