EasyUA Reference
StartEventNotifications Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > Subscription Class : StartEventNotifications Method

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.

Glossary Item Box

Activate event notification according the filter.
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.

Syntax

Visual Basic (Usage)Copy Code
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 instance

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.