OPC Studio User's Guide and Reference
CloseAll Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > EasyUAClientCore Class : CloseAll Method
Closes all unused sessions that are open to OPC-UA servers.
Syntax
'Declaration
 
Public Shared Sub CloseAll() 
'Usage
 
EasyUAClientCore.CloseAll()
public static void CloseAll()
public:
static void CloseAll(); 
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