OPC Studio User's Guide and Reference
EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,Object,UAPubSubConnectionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.OperationModel Namespace > EasyUASubscribeDataSetArguments Class > EasyUASubscribeDataSetArguments Constructor : EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,Object,UAPubSubConnectionDescriptor)
A callback method to be invoked for each dataset message received.
The state object (can be any value supplied by your code); available in event notifications.
Descriptor for a PubSub connection (using physical parameters, or logical name).
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal callback As EasyUADataSetMessageEventHandler, _
   ByVal state As Object, _
   ByVal connectionDescriptor As UAPubSubConnectionDescriptor _
)
'Usage
 
Dim callback As EasyUADataSetMessageEventHandler
Dim state As Object
Dim connectionDescriptor As UAPubSubConnectionDescriptor
 
Dim instance As New EasyUASubscribeDataSetArguments(callback, state, connectionDescriptor)

Parameters

callback
A callback method to be invoked for each dataset message received.
state
The state object (can be any value supplied by your code); available in event notifications.
connectionDescriptor
Descriptor for a PubSub connection (using physical parameters, or logical name).
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