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.

The value of this parameter cannot be null (Nothing in Visual Basic).

A callback method to be invoked for each OPC event.

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class from AEEventsSubscriptionArguments, with an optional callback.
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.

The value of this parameter cannot be null (Nothing in Visual Basic).

callback
A callback method to be invoked for each OPC event.

The value of this parameter can be null (Nothing in Visual Basic).

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