Partilhar via


InvalidDomainModelException Constructors

Definition

Overloads

InvalidDomainModelException()

Initializes a new instance of the InvalidDomainModelException class.

InvalidDomainModelException(String)

Initializes a new instance of the InvalidDomainModelException class with a specified error message.

InvalidDomainModelException(String, Exception)

Initializes a new instance of the InvalidDomainModelException class with a specified error message and a reference to the inner exception that is the cause of this exception.

InvalidDomainModelException()

Initializes a new instance of the InvalidDomainModelException class.

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

Applies to

InvalidDomainModelException(String)

Initializes a new instance of the InvalidDomainModelException class with a specified error message.

public:
 InvalidDomainModelException(System::String ^ message);
public InvalidDomainModelException (string message);
new Microsoft.VisualStudio.Modeling.InvalidDomainModelException : string -> Microsoft.VisualStudio.Modeling.InvalidDomainModelException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

InvalidDomainModelException(String, Exception)

Initializes a new instance of the InvalidDomainModelException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 InvalidDomainModelException(System::String ^ message, Exception ^ innerException);
public InvalidDomainModelException (string message, Exception innerException);
new Microsoft.VisualStudio.Modeling.InvalidDomainModelException : string * Exception -> Microsoft.VisualStudio.Modeling.InvalidDomainModelException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to