'DeclarationPublic Function New( _ ByVal callback As EasySparkplugMetricNotificationEventHandler, _ ByVal edgeNodeDescriptor As SparkplugEdgeNodeDescriptor, _ ByVal metricName As String _ )
'UsageDim callback As EasySparkplugMetricNotificationEventHandler Dim edgeNodeDescriptor As SparkplugEdgeNodeDescriptor Dim metricName As String Dim instance As New EasySparkplugMetricSubscriptionArguments(callback, edgeNodeDescriptor, metricName)
public EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler callback, SparkplugEdgeNodeDescriptor edgeNodeDescriptor, string metricName )
public: EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler^ callback, SparkplugEdgeNodeDescriptor^ edgeNodeDescriptor, String^ metricName )
Parameters
- callback
- The callback to invoke for the notification.
The value of this parameter can 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).