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



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > EasySparkplugConsumerCore Class : UnsubscribePayload Method
The payload subscription handle.
Unsubscribes from payload subscription specified by an integer handle.
Syntax
'Declaration
 
Public Sub UnsubscribePayload( _
   ByVal payloadSubscriptionHandle As Integer _
) 
'Usage
 
Dim instance As EasySparkplugConsumerCore
Dim payloadSubscriptionHandle As Integer
 
instance.UnsubscribePayload(payloadSubscriptionHandle)
public void UnsubscribePayload( 
   int payloadSubscriptionHandle
)
public:
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