OPC Studio User's Guide and Reference
EasyAEEventsSubscriptionArguments Constructor(AEEventsSubscriptionArguments,EasyAENotificationEventHandler)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.OperationModel Namespace > EasyAEEventsSubscriptionArguments Class > EasyAEEventsSubscriptionArguments Constructor : EasyAEEventsSubscriptionArguments Constructor(AEEventsSubscriptionArguments,EasyAENotificationEventHandler)
The events subscription arguments object to copy from.
A callback method to be invoked for each OPC event.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventsSubscriptionArguments As AEEventsSubscriptionArguments, _
   ByVal callback As EasyAENotificationEventHandler _
)
'Usage
 
Dim eventsSubscriptionArguments As AEEventsSubscriptionArguments
Dim callback As EasyAENotificationEventHandler
 
Dim instance As New EasyAEEventsSubscriptionArguments(eventsSubscriptionArguments, callback)

Parameters

eventsSubscriptionArguments
The events subscription arguments object to copy from.
callback
A callback method to be invoked for each OPC event.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also