ScrollChangedEventArgs.InvokeEventHandler(Delegate, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs proper type casting before invoking the type-safe ScrollChangedEventHandler delegate.
protected:
override void InvokeEventHandler(Delegate ^ genericHandler, System::Object ^ genericTarget);
protected override void InvokeEventHandler (Delegate genericHandler, object genericTarget);
override this.InvokeEventHandler : Delegate * obj -> unit
Protected Overrides Sub InvokeEventHandler (genericHandler As Delegate, genericTarget As Object)
Parameters
- genericHandler
- Delegate
The event handler to invoke, in this case the ScrollChangedEventHandler delegate.
- genericTarget
- Object
The target upon which the genericHandler
is invoked.
Remarks
If you provide either the genericHandler
or genericTarget
as a null reference (Nothing
in Visual Basic), exceptions are raised.