ExtensionError Constructor

 

Instantiates a new instance of ExtensionError.

Namespace:   Microsoft.Data.Entity.Design.Extensibility
Assembly:  Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)


ExtensionError Constructor (String, Int32, ExtensionErrorSeverity)

Instantiates a new instance of ExtensionError.

public ExtensionError(
	string message,
	int errorCode,
	ExtensionErrorSeverity severity
)

Parameters

message
Type: System.String

The message that describes the error.

errorCode
Type: System.Int32

The error code associated with the error.

severity
Type: Microsoft.Data.Entity.Design.Extensibility.ExtensionErrorSeverity

The severity of the error.


ExtensionError Constructor (String, Int32, ExtensionErrorSeverity, Int32, Int32)

Instantiates a new instance of ExtensionError.

public ExtensionError(
	string message,
	int errorCode,
	ExtensionErrorSeverity severity,
	int line,
	int column
)

Parameters

message
Type: System.String

The message that describes the error.

errorCode
Type: System.Int32

The error code associated with the error.

severity
Type: Microsoft.Data.Entity.Design.Extensibility.ExtensionErrorSeverity

The severity of the error.

line
Type: System.Int32

The line of the input or output document in which the error occurred.

column
Type: System.Int32

The column of the input or output document in which the error occurred.