'Declaration<ExtensionAttribute()> Public Overloads Shared Function SubscribeEdgeNodePayload( _ ByVal consumer As IEasySparkplugConsumer, _ ByVal edgeNodeDescriptor As SparkplugEdgeNodeDescriptor, _ ByVal callback As EasySparkplugPayloadNotificationEventHandler _ ) As Integer
'UsageDim consumer As IEasySparkplugConsumer Dim edgeNodeDescriptor As SparkplugEdgeNodeDescriptor Dim callback As EasySparkplugPayloadNotificationEventHandler Dim value As Integer value = IEasySparkplugConsumerExtension.SubscribeEdgeNodePayload(consumer, edgeNodeDescriptor, callback)
[Extension()] public static int SubscribeEdgeNodePayload( IEasySparkplugConsumer consumer, SparkplugEdgeNodeDescriptor edgeNodeDescriptor, EasySparkplugPayloadNotificationEventHandler callback )
[Extension()] public: static int SubscribeEdgeNodePayload( IEasySparkplugConsumer^ consumer, SparkplugEdgeNodeDescriptor^ edgeNodeDescriptor, EasySparkplugPayloadNotificationEventHandler^ callback )
Parameters
- consumer
- The consumer object that will perform the operation.
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). - callback
- The callback to invoke for the notification.
The value of this parameter can be
null(Nothingin Visual Basic).