'DeclarationPublic Function New( _ ByVal callback As EasySparkplugMetricNotificationEventHandler, _ ByVal deviceDescriptor As SparkplugDeviceDescriptor, _ ByVal metricName As String _ )
'UsageDim callback As EasySparkplugMetricNotificationEventHandler Dim deviceDescriptor As SparkplugDeviceDescriptor Dim metricName As String Dim instance As New EasySparkplugMetricSubscriptionArguments(callback, deviceDescriptor, metricName)
public EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler callback, SparkplugDeviceDescriptor deviceDescriptor, string metricName )
public: EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler^ callback, SparkplugDeviceDescriptor^ deviceDescriptor, String^ metricName )
Parameters
- callback
- The callback to invoke for the notification.
The value of this parameter can be
null(Nothingin Visual Basic). - deviceDescriptor
- The Sparkplug device 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).