ValidationContext.AddError Method (EdmError)
Adds an error with the validation context.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub AddError ( _
error As EdmError _
)
'Usage
Dim instance As ValidationContext
Dim error As EdmError
instance.AddError(error)
public void AddError(
EdmError error
)
public:
void AddError(
EdmError^ error
)
member AddError :
error:EdmError -> unit
public function AddError(
error : EdmError
)
Parameters
- error
Type: Microsoft.Data.Edm.Validation.EdmError
The error to register.