Skip to content

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 ​

3 overloads

OverloadDescription
OpcDiscoveryServerApplication(OpcDiscoveryServer)Initializes a new instance of the OpcDiscoveryServerApplication class using the server specified.
OpcDiscoveryServerApplication(string)Initializes a new instance of the OpcDiscoveryServerApplication class which hosts a new OpcDiscoveryServer using the address specified.
OpcDiscoveryServerApplication(Uri)Initializes a new instance of the OpcDiscoveryServerApplication class which hosts a new OpcDiscoveryServer using the address specified.

Exceptions (all overloads)

ExceptionCondition
InvalidOperationExceptionAn application has already been created on the current thread and has not yet been exited (see Current).

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

NameTypeDescription
serverOpcDiscoveryServerThe OpcDiscoveryServer to host.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe server is a null reference (Nothing in Visual Basic).

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

NameTypeDescription
addressStringThe string representation of the address of the discovery server which needs to use one of the supported schemes 'opc.tcp' and 'https'.

Exceptions

ExceptionCondition
ArgumentExceptionThe address is equals Empty or is not an absolute URI using one of the supported schemes 'opc.tcp' and 'https'.
ArgumentNullExceptionThe address is a null reference (Nothing in Visual Basic).

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

NameTypeDescription
addressUriThe Uri of the address of the discovery server which needs to use one of the supported schemes 'opc.tcp' and 'https'.

Exceptions

ExceptionCondition
ArgumentExceptionThe address does not use one of the supported schemes 'opc.tcp' and 'https'.
ArgumentNullExceptionThe address is a null reference (Nothing in Visual Basic).