'DeclarationPublic Function New( _ ByVal metricName As String, _ ByVal metricElement As SparkplugMetricElement _ )
'UsageDim metricName As String Dim metricElement As SparkplugMetricElement Dim instance As New SparkplugPayload(metricName, metricElement)
public SparkplugPayload( string metricName, SparkplugMetricElement metricElement )
public: SparkplugPayload( String^ metricName, SparkplugMetricElement^ metricElement )
Parameters
- metricName
- The Sparkplug metric name.
The value of this parameter cannot be
null(Nothingin Visual Basic). - metricElement
- The Sparkplug metric element.
The value of this parameter cannot be
null(Nothingin Visual Basic).