EdmError Constructor
Creates a new instance of the EdmError class.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
errorLocation As EdmLocation, _
errorCode As EdmErrorCode, _
errorMessage As String _
)
'Usage
Dim errorLocation As EdmLocation
Dim errorCode As EdmErrorCode
Dim errorMessage As String
Dim instance As New EdmError(errorLocation, _
errorCode, errorMessage)
public EdmError(
EdmLocation errorLocation,
EdmErrorCode errorCode,
string errorMessage
)
public:
EdmError(
EdmLocation^ errorLocation,
EdmErrorCode errorCode,
String^ errorMessage
)
new :
errorLocation:EdmLocation *
errorCode:EdmErrorCode *
errorMessage:string -> EdmError
public function EdmError(
errorLocation : EdmLocation,
errorCode : EdmErrorCode,
errorMessage : String
)
Parameters
- errorLocation
Type: Microsoft.Data.Edm.EdmLocation
The location where the error occurred.
- errorCode
Type: Microsoft.Data.Edm.Validation.EdmErrorCode
An integer code representing the error.
- errorMessage
Type: System.String
A human readable message describing the error.