'Declaration<ExtensionAttribute()> Public Overloads Shared Function SubscribeEdgeNodeMetric( _ ByVal consumer As IEasySparkplugConsumer, _ ByVal edgeNodeDescriptor As SparkplugEdgeNodeDescriptor, _ ByVal metricName As String _ ) As Integer
'UsageDim consumer As IEasySparkplugConsumer Dim edgeNodeDescriptor As SparkplugEdgeNodeDescriptor Dim metricName As String Dim value As Integer value = IEasySparkplugConsumerExtension.SubscribeEdgeNodeMetric(consumer, edgeNodeDescriptor, metricName)
[Extension()] public static int SubscribeEdgeNodeMetric( IEasySparkplugConsumer consumer, SparkplugEdgeNodeDescriptor edgeNodeDescriptor, string metricName )
[Extension()] public: static int SubscribeEdgeNodeMetric( IEasySparkplugConsumer^ consumer, SparkplugEdgeNodeDescriptor^ edgeNodeDescriptor, String^ metricName )
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 Sparkplug metric name.
The value of this parameter cannot be
null(Nothingin Visual Basic).