'Declaration<ExtensionAttribute()> Public Overloads Shared Sub PublishEdgeNodeMetric( _ ByVal consumer As IEasySparkplugConsumer, _ ByVal edgeNodeDescriptor As SparkplugEdgeNodeDescriptor, _ ByVal metricName As String, _ ByVal metricData As SparkplugMetricData _ )
'UsageDim consumer As IEasySparkplugConsumer Dim edgeNodeDescriptor As SparkplugEdgeNodeDescriptor Dim metricName As String Dim metricData As SparkplugMetricData IEasySparkplugConsumerExtension.PublishEdgeNodeMetric(consumer, edgeNodeDescriptor, metricName, metricData)
[Extension()] public static void PublishEdgeNodeMetric( IEasySparkplugConsumer consumer, SparkplugEdgeNodeDescriptor edgeNodeDescriptor, string metricName, SparkplugMetricData metricData )
[Extension()] public: static void PublishEdgeNodeMetric( IEasySparkplugConsumer^ consumer, SparkplugEdgeNodeDescriptor^ edgeNodeDescriptor, String^ metricName, SparkplugMetricData^ metricData )
Parameters
- consumer
- The consumer object that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - edgeNodeDescriptor
- The Sparkplug edge node descriptor.
The value of this parameter cannot be
null(Nothingin Visual Basic). - metricName
- The name of the Sparkplug metric.
The value of this parameter cannot be
null(Nothingin Visual Basic). - metricData
- The Sparkplug metric data.
The value of this parameter cannot be
null(Nothingin Visual Basic).