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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > EasyAEClientCore Class : IsKnownEventsSubscriptionHandle Method
The event subscription handle to be tested.
Determines whether the given event subscription handle is known to this client.
Syntax
'Declaration
 
Public Function IsKnownEventsSubscriptionHandle( _
   ByVal handle As Integer _
) As Boolean
'Usage
 
Dim instance As EasyAEClientCore
Dim handle As Integer
Dim value As Boolean
 
value = instance.IsKnownEventsSubscriptionHandle(handle)
public bool IsKnownEventsSubscriptionHandle( 
   int handle
)
public:
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