InputValidationException Class
The exception those implementers of IGenerator throw during validation to indicate that an input value is not correct.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
<SerializableAttribute> _
<CLSCompliantAttribute(True)> _
Public NotInheritable Class InputValidationException _
Inherits DataSchemaException
'Usage
Dim instance As InputValidationException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public sealed class InputValidationException : DataSchemaException
[SerializableAttribute]
[CLSCompliantAttribute(true)]
public ref class InputValidationException sealed : public DataSchemaException
public final class InputValidationException extends DataSchemaException
[<SealedAttribute>]
[<SerializableAttribute>]
[<CLSCompliantAttribute(true)>]
type InputValidationException =
class
inherit DataSchemaException
end
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 cause 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.Data.Schema.DataSchemaException
Microsoft.Data.Schema.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.Data.Schema.DataGenerator Namespace
DataException