OPC Studio User's Guide and Reference
IsKnownEventsSubscriptionHandle Method (_EasyAEClient)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _EasyAEClient 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 _EasyAEClient
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 member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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