'DeclarationPublic Function New( _ ByVal arguments As EasySparkplugMetricSubscriptionArguments, _ ByVal componentTypes As SparkplugComponentTypes, _ ByVal notificationType As SparkplugNotificationType, _ ByVal systemDescriptor As SparkplugSystemDescriptor, _ ByVal clientId As String, _ ByVal groupId As String, _ ByVal edgeNodeId As String, _ ByVal deviceId As String, _ ByVal metricName As String, _ ByVal operationResult As OperationResult _ )
'UsageDim arguments As EasySparkplugMetricSubscriptionArguments Dim componentTypes As SparkplugComponentTypes Dim notificationType As SparkplugNotificationType Dim systemDescriptor As SparkplugSystemDescriptor Dim clientId As String Dim groupId As String Dim edgeNodeId As String Dim deviceId As String Dim metricName As String Dim operationResult As OperationResult Dim instance As New EasySparkplugMetricNotificationEventArgs(arguments, componentTypes, notificationType, systemDescriptor, clientId, groupId, edgeNodeId, deviceId, metricName, operationResult)
public EasySparkplugMetricNotificationEventArgs( EasySparkplugMetricSubscriptionArguments arguments, SparkplugComponentTypes componentTypes, SparkplugNotificationType notificationType, SparkplugSystemDescriptor systemDescriptor, string clientId, string groupId, string edgeNodeId, string deviceId, string metricName, OperationResult operationResult )
public: EasySparkplugMetricNotificationEventArgs( EasySparkplugMetricSubscriptionArguments^ arguments, SparkplugComponentTypes componentTypes, SparkplugNotificationType notificationType, SparkplugSystemDescriptor^ systemDescriptor, String^ clientId, String^ groupId, String^ edgeNodeId, String^ deviceId, String^ metricName, OperationResult^ operationResult )
Parameters
- arguments
- The Sparkplug metric subscription arguments object.
The value of this parameter cannot be
null(Nothingin Visual Basic). - componentTypes
- The types of the Sparkplug components.
- notificationType
- The Sparkplug notification type.
- systemDescriptor
- The Sparkplug system descriptor.
The value of this parameter cannot be
null(Nothingin Visual Basic). - clientId
- The client ID for the connection to the broker.
The value of this parameter cannot be
null(Nothingin Visual Basic). - groupId
- The Sparkplug group ID.
The value represents a Sparkplug group ID, or a filter for Sparkplug group IDs. It must be a string with valid UTF-8 characters except for the reserved character '/' (forward slash). Characters '+' (plus) and '#' are filters, and can only be used when they are the single character in the string.
The value of this parameter cannot be
null(Nothingin Visual Basic). - edgeNodeId
- The Sparkplug edge node ID.
The value represents a Sparkplug edge node ID, or a filter for Sparkplug edge node IDs. It must be a string with valid UTF-8 characters except for the reserved character '/' (forward slash). Characters '+' (plus) and '#' are filters, and can only be used when they are the single character in the string.
The value of this parameter cannot be
null(Nothingin Visual Basic). - deviceId
- The Sparkplug device ID.
The value represents a Sparkplug device ID, or a filter for Sparkplug device IDs. It must be a string with valid UTF-8 characters except for the reserved character '/' (forward slash). Characters '+' (plus) and '#' are filters, and can only be used when they are the single character in the string.
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). - operationResult
- The result of the operation - a success, or failure information.
The value of this parameter cannot be
null(Nothingin Visual Basic).