QuickOPC User's Guide and Reference
IsKnownEventsSubscriptionHandle Method (IEasyAEClient)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > IEasyAEClient Interface : IsKnownEventsSubscriptionHandle Method
The event subscription handle to be tested.
Determines whether the given event subscription handle is known to this client.
Syntax
'Declaration
 
Function IsKnownEventsSubscriptionHandle( _
   ByVal handle As Integer _
) As Boolean
'Usage
 
Dim instance As IEasyAEClient
Dim handle As Integer
Dim value As Boolean
 
value = instance.IsKnownEventsSubscriptionHandle(handle)
bool IsKnownEventsSubscriptionHandle( 
   int handle
)
bool IsKnownEventsSubscriptionHandle( 
   int handle
) 

Parameters

handle
The event subscription handle to be tested.

Return Value

Returns true if the given handle is known to the client (i.e. represents a currently subscribed event). 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