Share via


InvalidCommandTreeException Constructors

Definition

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 Sub New ()

Applies to

InvalidCommandTreeException(String)

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

public InvalidCommandTreeException (string message);
new System.Data.Entity.Core.InvalidCommandTreeException : string -> System.Data.Entity.Core.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 (string message, Exception innerException);
new System.Data.Entity.Core.InvalidCommandTreeException : string * Exception -> System.Data.Entity.Core.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