'Declaration
Public Event ErrorReceived As ErrorReceivedHandler
'Usage
Dim instance As DicomServer Dim handler As ErrorReceivedHandler AddHandler instance.ErrorReceived, handler
public event ErrorReceivedHandler ErrorReceived
public event ErrorReceived: ErrorReceivedHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event ErrorReceivedHandler* ErrorReceived
public: event ErrorReceivedHandler^ ErrorReceived