Connectivity Software User's Guide and Reference
SparkplugProducerPollEventHandler Delegate



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : SparkplugProducerPollEventHandler Delegate
The source of the event.
A OpcLabs.EasySparkplug.OperationModel.SparkplugProducerPollEventArgs that contains the event data.
Represents the method that will handle an event raised to poll for data and return the Sparkplug payload.
Syntax
'Declaration
 
Public Delegate Sub SparkplugProducerPollEventHandler( _
   ByVal sender As Object, _
   ByVal e As SparkplugProducerPollEventArgs _
) 
'Usage
 
Dim instance As New SparkplugProducerPollEventHandler(AddressOf HandlerMethod)
public delegate void SparkplugProducerPollEventHandler( 
   object sender,
   SparkplugProducerPollEventArgs e
)
public delegate void SparkplugProducerPollEventHandler( 
   Object^ sender,
   SparkplugProducerPollEventArgs^ e
)

Parameters

sender
The source of the event.
e
A OpcLabs.EasySparkplug.OperationModel.SparkplugProducerPollEventArgs that contains the event data.
Remarks

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

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