QuickOPC User's Guide and Reference
EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,UASubscribeDataSetArguments)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.OperationModel Namespace > EasyUASubscribeDataSetArguments Class > EasyUASubscribeDataSetArguments Constructor : EasyUASubscribeDataSetArguments Constructor(EasyUADataSetMessageEventHandler,UASubscribeDataSetArguments)
A callback method to be invoked for each dataset message received.
Holds all arguments needed to subscribe to a dataset in OPC UA PubSub.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal callback As EasyUADataSetMessageEventHandler, _
   ByVal subscribeDataSetArguments As UASubscribeDataSetArguments _
)
'Usage
 
Dim callback As EasyUADataSetMessageEventHandler
Dim subscribeDataSetArguments As UASubscribeDataSetArguments
 
Dim instance As New EasyUASubscribeDataSetArguments(callback, subscribeDataSetArguments)

Parameters

callback
A callback method to be invoked for each dataset message received.
subscribeDataSetArguments
Holds all arguments needed to subscribe to a dataset in OPC UA PubSub.
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