'Declaration<ExtensionAttribute()> Public Overloads Shared Sub PublishDevicePayload( _ ByVal consumer As IEasySparkplugConsumer, _ ByVal groupId As String, _ ByVal edgeNodeId As String, _ ByVal deviceId As String, _ ByVal payload As SparkplugPayload _ )
'UsageDim consumer As IEasySparkplugConsumer Dim groupId As String Dim edgeNodeId As String Dim deviceId As String Dim payload As SparkplugPayload IEasySparkplugConsumerExtension.PublishDevicePayload(consumer, groupId, edgeNodeId, deviceId, payload)
[Extension()] public static void PublishDevicePayload( IEasySparkplugConsumer consumer, string groupId, string edgeNodeId, string deviceId, SparkplugPayload payload )
[Extension()] public: static void PublishDevicePayload( IEasySparkplugConsumer^ consumer, String^ groupId, String^ edgeNodeId, String^ deviceId, SparkplugPayload^ payload )
Parameters
- consumer
- The consumer object that will perform the operation.
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). - payload
- The Sparkplug payload.
The value of this parameter cannot be
null(Nothingin Visual Basic).