'DeclarationPublic Function New( _ ByVal callback As EasySparkplugMetricNotificationEventHandler, _ ByVal hostDescriptor As SparkplugHostDescriptor, _ ByVal edgeNodeDescriptor As SparkplugEdgeNodeDescriptor, _ ByVal metricName As String _ )
'UsageDim callback As EasySparkplugMetricNotificationEventHandler Dim hostDescriptor As SparkplugHostDescriptor Dim edgeNodeDescriptor As SparkplugEdgeNodeDescriptor Dim metricName As String Dim instance As New EasySparkplugMetricSubscriptionArguments(callback, hostDescriptor, edgeNodeDescriptor, metricName)
public EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler callback, SparkplugHostDescriptor hostDescriptor, SparkplugEdgeNodeDescriptor edgeNodeDescriptor, string metricName )
public: EasySparkplugMetricSubscriptionArguments( EasySparkplugMetricNotificationEventHandler^ callback, SparkplugHostDescriptor^ hostDescriptor, SparkplugEdgeNodeDescriptor^ edgeNodeDescriptor, 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). - 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).