Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is called when the value of an input property in a designer changes. It is called to validate the designer, including the new value. It is called before the OnInputValueChanged event.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Sub OnInputChangeValidation ( _
sender As Object, _
eventArgs As InputChangingEventArgs _
)
public virtual void OnInputChangeValidation(
Object sender,
InputChangingEventArgs eventArgs
)
public:
virtual void OnInputChangeValidation(
Object^ sender,
InputChangingEventArgs^ eventArgs
)
abstract OnInputChangeValidation :
sender:Object *
eventArgs:InputChangingEventArgs -> unit
override OnInputChangeValidation :
sender:Object *
eventArgs:InputChangingEventArgs -> unit
public function OnInputChangeValidation(
sender : Object,
eventArgs : InputChangingEventArgs
)
Parameters
- sender
Type: System.Object
The object that initiates the event.
- eventArgs
Type: Microsoft.Data.Schema.Tools.DataGenerator.InputChangingEventArgs
An InputChangingEventArgs object.
Implements
IDesigner.OnInputChangeValidation(Object, InputChangingEventArgs)
Remarks
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The OnInputChangeValidation method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Notes to Inheritors
When overriding OnInputChangeValidation in a derived class, make sure that you call the OnInputChangeValidation method of the base class so that registered delegates receive the event.
.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.
See Also
Reference
DefaultDistributionDesigner Class