Expand Minimize

Derived classes cannot raise base class events

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft