Click or drag to resize

GeneralNameValidatorValidateReportOnly Method

Validates the value specified and reports a failure as a validation exception, otherwise it ignores the result.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Validation
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public void ValidateReportOnly(
	string valueToValidate,
	bool checkForDuplicates,
	string valueDescription
)

Parameters

valueToValidate
Type: SystemString
The value to validate.
checkForDuplicates
Type: SystemBoolean
Flag to signal if duplicate checking should be performed (true) or not (false)
valueDescription
Type: SystemString
The value description.
Exceptions
ExceptionCondition
ValidationExceptionIf the value to validate was invalid
See Also