Share via


ToolingException Constructors

Definition

Overloads

ToolingException()

Initializes a new instance of the ToolingException class.

ToolingException(String)

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

ToolingException(SerializationInfo, StreamingContext)
ToolingException(String, Exception)

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

ToolingException(String, String, String)

Initializes a new instance of the ToolingException class.

ToolingException()

Initializes a new instance of the ToolingException class.

public ToolingException ();
Public Sub New ()

Applies to

ToolingException(String)

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

public ToolingException (string message);
new System.Data.Entity.Migrations.Design.ToolingException : string -> System.Data.Entity.Migrations.Design.ToolingException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

ToolingException(SerializationInfo, StreamingContext)

Obsolete.

Initializes a new instance of the Exception class with serialized data.

protected ToolingException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.Entity.Migrations.Design.ToolingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.Entity.Migrations.Design.ToolingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

ToolingException(String, Exception)

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

public ToolingException (string message, Exception innerException);
new System.Data.Entity.Migrations.Design.ToolingException : string * Exception -> System.Data.Entity.Migrations.Design.ToolingException
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, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to

ToolingException(String, String, String)

Initializes a new instance of the ToolingException class.

public ToolingException (string message, string innerType, string innerStackTrace);
new System.Data.Entity.Migrations.Design.ToolingException : string * string * string -> System.Data.Entity.Migrations.Design.ToolingException
Public Sub New (message As String, innerType As String, innerStackTrace As String)

Parameters

message
String

Error that explains the reason for the exception.

innerType
String

The type of the exception that was thrown.

innerStackTrace
String

The stack trace of the exception that was thrown.

Applies to