Click or drag to resize

PFJobValidationExceptionAddValidationError Method

Use this method to add a validation error inside the exception.

Namespace:  Packflow.Core.Jobs
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public void AddValidationError(
	string parameterName,
	string errorMessage
)

Parameters

parameterName
Type: SystemString
The name of the parameter causing the validation error
errorMessage
Type: SystemString
The validation error message
See Also