Click or drag to resize

ErrorProviderGetError Method

Resolves the given ValidationResult to an user defined error object.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public Object GetError(
	ValidationResult result
)

Parameters

result
Type: Xploration.ValidationValidationResult
The validation result to convert.

Return Value

Type: Object
A user defined error object if the given result is not valid; otherwise null.

Implements

IErrorProviderGetError(ValidationResult)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the given value for the result parameter is null.
See Also