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