Connectivity Software User's Guide and Reference
SparkplugMetricReadEventHandler Delegate



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

Parameters

sender
The source of the event.
e
A OpcLabs.EasySparkplug.OperationModel.SparkplugMetricReadEventArgs 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