InputValidationException Class

The exception that implementers of IGenerator throw during validation to indicate that an input value is not correct.

Namespace:  Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly:  Microsoft.VisualStudio.TeamSystem.Data (in Microsoft.VisualStudio.TeamSystem.Data.dll)

Syntax

'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public NotInheritable Class InputValidationException _
    Inherits DataException
'Usage
Dim instance As InputValidationException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public sealed class InputValidationException : DataException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public ref class InputValidationException sealed : public DataException
public final class InputValidationException extends DataException

Remarks

This exception is intended to be thrown when validating inputs such as the Seed and Percentage Null properties. It is the only exception thrown by data generators that does not result in failure of data generation. When this exception is caught, the user interface gives the user a chance to change the input properties so that they pass validation.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.TeamSystem.Data.DataException
      Microsoft.VisualStudio.TeamSystem.Data.DataGenerator.InputValidationException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

InputValidationException Members

Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace

OnValidateInputs

OnInputChangeValidation

ValidateInputs

ValidateInputs

ValidateInputs

ValidateInputs

Severity

DataException