Connectivity Software User's Guide and Reference
UnsubscribePayload Method (IEasySparkplugConsumer)



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > IEasySparkplugConsumer Interface : UnsubscribePayload Method
The payload subscription handle.
Unsubscribes from payload subscription specified by an integer handle.
Syntax
'Declaration
 
Sub UnsubscribePayload( _
   ByVal payloadSubscriptionHandle As Integer _
) 
'Usage
 
Dim instance As IEasySparkplugConsumer
Dim payloadSubscriptionHandle As Integer
 
instance.UnsubscribePayload(payloadSubscriptionHandle)
void UnsubscribePayload( 
   int payloadSubscriptionHandle
)
void UnsubscribePayload( 
   int payloadSubscriptionHandle
) 

Parameters

payloadSubscriptionHandle
The payload subscription handle.
Exceptions
ExceptionDescription
An operation was performed on a disposed object.
Remarks

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also