Parameters
- client
- The client object that will perform the operation.
- discoveryHost
- The name of the machine that runs the discovery server that will be used for discovery task.
- applicationTypes
- Application types to be discovered.
Exception | Description |
---|---|
System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
OpcLabs.EasyOpc.UA.OperationModel.UAException | The OPC UA operation has failed. This operation exception in uniformly used to allow common handling of various kinds of errors. The System.Exception.InnerException always contains information about the actual error cause. This is an operation error that depends on factors external to your program, and thus cannot be always avoided. Your code must handle it appropriately. |
This method uses the so-called Local Discovery Server (LDS). You can influence how the discovery works using the properties in static SharedParameters.
Invokes the FindServers service.
See also in Knowledge Base: Technical note-OPC UA Discovery in QuickOPC.