Tests whether an OPC UA PubSub connection can be successfully established. Synchronous.
The method tests synchronously whether an OPC UA PubSub connection can be successfully established. It returns normally when the test passes. The method throws a OpcLabs.EasyOpc.UA.OperationModel.UAException when there is an error establishing the connection.
Due to asynchronous nature of some communication channels, successful test outcome does not always imply that a connection has been fully established.
The waitMilliseconds parameter is not a timeout in its traditional sense, i.e. a maximum time allowed for the operation. Here, this method actually waits for the time given by waitMilliseconds parameter unless a failure occurs.
Overload List
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