EdmError Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EdmError(EdmLocation, EdmErrorCode, String) |
Initializes a new instance of the EdmError class. |
EdmError(EdmLocation, EdmErrorCode, String, Severity) |
Initializes a new instance of the EdmError class. |
EdmError(EdmLocation, EdmErrorCode, String)
Initializes a new instance of the EdmError class.
public EdmError (Microsoft.OData.Edm.EdmLocation errorLocation, Microsoft.OData.Edm.Validation.EdmErrorCode errorCode, string errorMessage);
new Microsoft.OData.Edm.Validation.EdmError : Microsoft.OData.Edm.EdmLocation * Microsoft.OData.Edm.Validation.EdmErrorCode * string -> Microsoft.OData.Edm.Validation.EdmError
Public Sub New (errorLocation As EdmLocation, errorCode As EdmErrorCode, errorMessage As String)
Parameters
- errorLocation
- EdmLocation
The location where the error occurred.
- errorCode
- EdmErrorCode
An integer code representing the error.
- errorMessage
- String
A human readable message describing the error.
Applies to
EdmError(EdmLocation, EdmErrorCode, String, Severity)
Initializes a new instance of the EdmError class.
public EdmError (Microsoft.OData.Edm.EdmLocation errorLocation, Microsoft.OData.Edm.Validation.EdmErrorCode errorCode, string errorMessage, Microsoft.OData.Edm.Validation.Severity severity);
new Microsoft.OData.Edm.Validation.EdmError : Microsoft.OData.Edm.EdmLocation * Microsoft.OData.Edm.Validation.EdmErrorCode * string * Microsoft.OData.Edm.Validation.Severity -> Microsoft.OData.Edm.Validation.EdmError
Public Sub New (errorLocation As EdmLocation, errorCode As EdmErrorCode, errorMessage As String, severity As Severity)
Parameters
- errorLocation
- EdmLocation
The location where the error occurred.
- errorCode
- EdmErrorCode
An integer code representing the error.
- errorMessage
- String
A human readable message describing the error.
- severity
- Severity
An enum value describing the error severity.