Class events provide a similar notification feature for classes that named events provide for procedures. One difference is that you must define class events as strongly-typed members of a class before you can publish them. However, you define named events at run time when you publish them.