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.
An event can be raised only from the declaration space in which it is declared. Therefore, a class cannot raise events from any other class, even one from which it is derived.
Error ID: BC30029
To correct this error
- Move the Event statement or the RaiseEvent statement so they are in the same class.
See Also
Tasks
How to: Create Derived Classes