|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Compiler Error C3728
Error Message'event': event does not have a raise method
Metadata created with a language, such as C#, that does not allow an event to be raised from outside the class in which it was defined, was included with the #using directive, and a Visual C++ program using CLR programming attempted to raise the event.
To raise an event in a program developed in a language such as C#, the class containing the event needs to also define a public method that raises the event.