'Declaration Public Function New( _ ByVal ruleInError As CellValidationRule, _ ByVal cellInError As Cell, _ ByVal errorContent As Object, _ ByVal exception As Exception _ )
'Usage Dim ruleInError As CellValidationRule Dim cellInError As Cell Dim errorContent As Object Dim exception As Exception Dim instance As New CellValidationError(ruleInError, cellInError, errorContent, exception)
public CellValidationError( CellValidationRule ruleInError, Cell cellInError, object errorContent, Exception exception )
Parameters
- ruleInError
The CellValidationRule that contains the validation rule that failed.
- cellInError
- The cell whose value failed the validation process.
- errorContent
- An object containing the content to display when an error occurs.
- exception
- The exception that was raised when the value failed the validation process. Can be a null reference (Nothing in Visual Basic).