Connectivity Software User's Guide and Reference
SparkplugMetricWriteEventHandler Delegate



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

Parameters

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