In This Topic
Event fires when loggable events occur
Syntax
'Declaration
Public Event LogEvent As LogHandler
'Usage
Dim instance As DicomGlobal
Dim handler As LogHandler
AddHandler instance.LogEvent, handler
public event LogHandler LogEvent
public event LogEvent: LogHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event LogHandler* LogEvent
public:
event LogHandler^ LogEvent
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also