Generator.OnValidateInputs Method
Validates that all the required inputs on the data generator have been set.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Protected Overridable Sub OnValidateInputs
protected virtual void OnValidateInputs()
protected:
virtual void OnValidateInputs()
abstract OnValidateInputs : unit -> unit
override OnValidateInputs : unit -> unit
protected function OnValidateInputs()
Remarks
This method validates inputs at run time. If you want to validate inputs at design time, create a custom designer or override an existing designer.
The ValidateInputs method calls this method. You should override OnValidateInputs if you want to override the ValidateInputs functionality.
If the inputs are not valid, you should throw a InputValidationException in this method. You can specify Error, which stops the data generation, or Warning, which does not stop the data generation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.