Share via


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

  • errorMessage
    Type: System.String
    A human readable message describing the error.

See Also

Reference

EdmError Class

Microsoft.Data.Edm.Validation Namespace