The handler for fast event notification handling is installed. Only one handler can be defined (callback, not .NET event). Multiple notifications can be in one callback. If a synchronisation object is defined for the UaApplication then the callback is internally synchronized with Windows so that the event handler use Windows controls.
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Subscription Dim filter As FilterDefinition Dim onNotification As OnEventNotification Dim eventTypes As ContentFilter Dim value As MonitoredItem value = instance.StartEventNotifications(filter, onNotification, eventTypes) |
C# | |
---|---|
public MonitoredItem StartEventNotifications( FilterDefinition filter, OnEventNotification onNotification, ContentFilter eventTypes ) |
Parameters
- filter
- The event filter to be applied. If NULL then notifications are started for all events.
- onNotification
- Handler that is called on event notifications from the server.
- eventTypes
- Filter defining the eventTypes to be activated. A null value activates all event tpes.
Return Value
Notification MonitoredItem instanceTarget Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x