Compartilhar via


InternalModelingErrorException Constructors

Definition

Overloads

InternalModelingErrorException()

Initializes a new instance of the InternalModelingErrorException class.

InternalModelingErrorException(String)

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

InternalModelingErrorException(String, Exception)

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

InternalModelingErrorException()

Initializes a new instance of the InternalModelingErrorException class.

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

Applies to

InternalModelingErrorException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

InternalModelingErrorException(String, Exception)

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

public:
 InternalModelingErrorException(System::String ^ message, Exception ^ innerException);
public InternalModelingErrorException (string message, Exception innerException);
new Microsoft.VisualStudio.Modeling.InternalModelingErrorException : string * Exception -> Microsoft.VisualStudio.Modeling.InternalModelingErrorException
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