InvalidCommandTreeException Constructors

Definition

Initializes a new instance of the InvalidCommandTreeException class.

Overloads

InvalidCommandTreeException()

Initializes a new instance of the InvalidCommandTreeException class with a default message.

InvalidCommandTreeException(String)

Initializes a new instance of the InvalidCommandTreeException class with the specified message.

InvalidCommandTreeException(String, Exception)

Initializes a new instance of the InvalidCommandTreeException class with the specified message and inner exception.

InvalidCommandTreeException()

Initializes a new instance of the InvalidCommandTreeException class with a default message.

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

Applies to

InvalidCommandTreeException(String)

Initializes a new instance of the InvalidCommandTreeException class with the specified message.

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

Parameters

message
String

The exception message.

Applies to

InvalidCommandTreeException(String, Exception)

Initializes a new instance of the InvalidCommandTreeException class with the specified message and inner exception.

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)

Parameters

message
String

The exception message.

innerException
Exception

The exception that is the cause of this InvalidCommandTreeException.

Applies to