OPC Studio User's Guide and Reference
AENotificationPayload Constructor(EasyAENotificationEventArgs,AEEventDataPayload)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComplexEventProcessing Namespace > AENotificationPayload Class > AENotificationPayload Constructor : AENotificationPayload Constructor(EasyAENotificationEventArgs,AEEventDataPayload)
Event data.
Event payload to be used when the event arguments contain no event.
Initializes a new event payload from event arguments for OPC Alarms&Events notifications.
Syntax
'Declaration
 
Public Function New( _
   ByVal eventArgs As EasyAENotificationEventArgs, _
   ByVal defaultEventDataPayload As AEEventDataPayload _
)
'Usage
 
Dim eventArgs As EasyAENotificationEventArgs
Dim defaultEventDataPayload As AEEventDataPayload
 
Dim instance As New AENotificationPayload(eventArgs, defaultEventDataPayload)

Parameters

eventArgs
Event data.
defaultEventDataPayload
Event payload to be used when the event arguments contain no 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