QuickOPC User's Guide and Reference
AEEventDataPayload Constructor(String,DateTime,String,Int64,Int64,Int32,String,String,Boolean,Boolean,Boolean,Int32,Boolean,DateTime,Int64,String)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComplexEventProcessing Namespace > AEEventDataPayload Class > AEEventDataPayload Constructor : AEEventDataPayload Constructor(String,DateTime,String,Int64,Int64,Int32,String,String,Boolean,Boolean,Boolean,Int32,Boolean,DateTime,Int64,String)
Initializes a new event payload from values of its fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal qualifiedSourceName As String, _
   ByVal time As Date, _
   ByVal message As String, _
   ByVal eventType As Long, _
   ByVal categoryId As Long, _
   ByVal severity As Integer, _
   ByVal conditionName As String, _
   ByVal subconditionName As String, _
   ByVal enabled As Boolean, _
   ByVal active As Boolean, _
   ByVal acknowledged As Boolean, _
   ByVal quality As Integer, _
   ByVal acknowledgeRequired As Boolean, _
   ByVal activeTime As Date, _
   ByVal cookie As Long, _
   ByVal actorId As String _
)
'Usage
 
Dim qualifiedSourceName As String
Dim time As Date
Dim message As String
Dim eventType As Long
Dim categoryId As Long
Dim severity As Integer
Dim conditionName As String
Dim subconditionName As String
Dim enabled As Boolean
Dim active As Boolean
Dim acknowledged As Boolean
Dim quality As Integer
Dim acknowledgeRequired As Boolean
Dim activeTime As Date
Dim cookie As Long
Dim actorId As String
 
Dim instance As New AEEventDataPayload(qualifiedSourceName, time, message, eventType, categoryId, severity, conditionName, subconditionName, enabled, active, acknowledged, quality, acknowledgeRequired, activeTime, cookie, actorId)

Parameters

qualifiedSourceName
time
message
eventType
categoryId
severity
conditionName
subconditionName
enabled
active
acknowledged
quality
acknowledgeRequired
activeTime
cookie
actorId
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