'DeclarationPublic Function New( _ ByVal arguments As EasySparkplugPayloadSubscriptionArguments, _ 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 operationResult As OperationResult, _ ByVal payload As SparkplugPayload, _ ByVal isSynthesized As Boolean _ )
'UsageDim arguments As EasySparkplugPayloadSubscriptionArguments 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 operationResult As OperationResult Dim payload As SparkplugPayload Dim isSynthesized As Boolean Dim instance As New EasySparkplugPayloadNotificationEventArgs(arguments, componentTypes, notificationType, systemDescriptor, clientId, groupId, edgeNodeId, deviceId, operationResult, payload, isSynthesized)
public EasySparkplugPayloadNotificationEventArgs( EasySparkplugPayloadSubscriptionArguments arguments, SparkplugComponentTypes componentTypes, SparkplugNotificationType notificationType, SparkplugSystemDescriptor systemDescriptor, string clientId, string groupId, string edgeNodeId, string deviceId, OperationResult operationResult, SparkplugPayload payload, bool isSynthesized )
public: EasySparkplugPayloadNotificationEventArgs( EasySparkplugPayloadSubscriptionArguments^ arguments, SparkplugComponentTypes componentTypes, SparkplugNotificationType notificationType, SparkplugSystemDescriptor^ systemDescriptor, String^ clientId, String^ groupId, String^ edgeNodeId, String^ deviceId, OperationResult^ operationResult, SparkplugPayload^ payload, bool isSynthesized )
Parameters
- arguments
- The Sparkplug payload 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. It must be a string with valid UTF-8 characters except for the reserved characters of '+' (plus), '/' (forward slash), and '#' (number sign).
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. It must be a string with valid UTF-8 characters except for the reserved characters of '+' (plus), '/' (forward slash), and '#' (number sign).
The value of this parameter cannot be
null(Nothingin Visual Basic). - deviceId
- The Sparkplug device ID.
The value represents a Sparkplug device ID. It must be a string with valid UTF-8 characters except for the reserved characters of '+' (plus), '/' (forward slash), and '#' (number sign).
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). - payload
- The Sparkplug payload.
The value of this parameter can be
null(Nothingin Visual Basic). - isSynthesized
- Indicates whether the notification is synthesized.