Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub New ( _
message As String, _
errorCode As Integer, _
severity As ExtensionErrorSeverity, _
line As Integer, _
column As Integer _
)
'Usage
Dim message As String
Dim errorCode As Integer
Dim severity As ExtensionErrorSeverity
Dim line As Integer
Dim column As Integer
Dim instance As New ExtensionError(message, _
errorCode, severity, line, column)
public ExtensionError(
string message,
int errorCode,
ExtensionErrorSeverity severity,
int line,
int column
)
public:
ExtensionError(
String^ message,
int errorCode,
ExtensionErrorSeverity severity,
int line,
int column
)
public function ExtensionError(
message : String,
errorCode : int,
severity : ExtensionErrorSeverity,
line : int,
column : int
)
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.
Remarks
The ExtensionError class is used when building a Visual Studio extension that extends the functionality of the Entity Data Model Designer.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Data.Entity.Design.Extensibility Namespace
Other Resources
Visual Studio Extensibility Developer Center