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.6.0.0 (5.6.19.0117)
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