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