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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComplexEventProcessing Namespace > AENotificationPayload Class > AENotificationPayload Constructor : AENotificationPayload Constructor(String,String,Boolean,Boolean,AEEventDataPayload)

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

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

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

Initializes a new event payload from values of its fields.
Syntax
'Declaration
 
Public Function New( _
   ByVal server As String, _
   ByVal errorId As String, _
   ByVal refresh As Boolean, _
   ByVal refreshComplete As Boolean, _
   ByVal eventDataPayload As AEEventDataPayload _
)
'Usage
 
Dim server As String
Dim errorId As String
Dim refresh As Boolean
Dim refreshComplete As Boolean
Dim eventDataPayload As AEEventDataPayload
 
Dim instance As New AENotificationPayload(server, errorId, refresh, refreshComplete, eventDataPayload)

Parameters

server

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

errorId

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

refresh
refreshComplete
eventDataPayload

The value of this parameter cannot 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