Reference
OpcDiscoveryServerApplication Members
Represents an application which hosts an OpcDiscoveryServer and starts it when the application is run.
Reference
OpcDiscoveryServerApplication Members
- Type
- OpcDiscoveryServerApplication
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcServerApplication<OpcDiscoveryServer>, OpcApplication.
Constructors
OpcDiscoveryServerApplication
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcserver specified. |
| Opc | Initializes a new instance of the Opcaddress specified. |
| Opc | Initializes a new instance of the Opcaddress specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | An application has already been created on the current thread and has not yet been exited ( |
OpcDiscoveryServerApplication(OpcDiscoveryServer)
Initializes a new instance of the OpcDiscoveryServerApplication class using the server specified.
csharp
public OpcDiscoveryServerApplication(OpcDiscoveryServer server)vbnet
Public Sub New(server As OpcDiscoveryServer)Parameters
| Name | Type | Description |
|---|---|---|
server | Opc | The Opc |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The server is a null reference ( |
OpcDiscoveryServerApplication(string)
Initializes a new instance of the OpcDiscoveryServerApplication class which hosts a new OpcDiscoveryServer using the address specified.
csharp
public OpcDiscoveryServerApplication(string address)vbnet
Public Sub New(address As String)Parameters
| Name | Type | Description |
|---|---|---|
address | String | The string representation of the address of the discovery server which needs to use one of the supported schemes 'opc. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The address is equals Empty or is not an absolute URI using one of the supported schemes 'opc. |
| Argument | The address is a null reference ( |
OpcDiscoveryServerApplication(Uri)
Initializes a new instance of the OpcDiscoveryServerApplication class which hosts a new OpcDiscoveryServer using the address specified.
csharp
public OpcDiscoveryServerApplication(Uri address)vbnet
Public Sub New(address As Uri)Parameters
| Name | Type | Description |
|---|---|---|
address | Uri | The Uri of the address of the discovery server which needs to use one of the supported schemes 'opc. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The address does not use one of the supported schemes 'opc. |
| Argument | The address is a null reference ( |

