OPC Studio User's Guide and Reference
IsKnownDataSetSubscriptionHandle Method (EasyUASubscriberCore)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > EasyUASubscriberCore Class : IsKnownDataSetSubscriptionHandle Method
The data set subscription handle to be tested.
Determines whether the given data set subscription handle is known to this client.
Syntax
'Declaration
 
Public Function IsKnownDataSetSubscriptionHandle( _
   ByVal dataSetHandle As Integer _
) As Boolean
'Usage
 
Dim instance As EasyUASubscriberCore
Dim dataSetHandle As Integer
Dim value As Boolean
 
value = instance.IsKnownDataSetSubscriptionHandle(dataSetHandle)
public bool IsKnownDataSetSubscriptionHandle( 
   int dataSetHandle
)
public:
bool IsKnownDataSetSubscriptionHandle( 
   int dataSetHandle
) 

Parameters

dataSetHandle
The data set subscription handle to be tested.

Return Value

Returns true if the given handle is known to the client (i.e. represents a currently subscribed data set). Otherwise, returns false.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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