Reference
OpcDiscoveryServer Members
Represents a discovery server with which servers register and which provides the registered servers to clients.
Reference
OpcDiscoveryServer Members
- Type
- OpcDiscoveryServer
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcServerBase, OpcApplicationInstance<OpcTransport, OpcServerSecurity>.
Constructors
OpcDiscoveryServer
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opc |
| Opc | Initializes a new instance of the Opcaddress specified. |
| Opc | Initializes a new instance of the Opcaddress specified. |
OpcDiscoveryServer()
Initializes a new instance of the OpcDiscoveryServer class using the address "opc.tcp://localhost:4840".
public OpcDiscoveryServer()Public Sub New()OpcDiscoveryServer(string)
Initializes a new instance of the OpcDiscoveryServer class using the address specified.
public OpcDiscoveryServer(string address)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 ( |
OpcDiscoveryServer(Uri)
Initializes a new instance of the OpcDiscoveryServer class using the address specified.
public OpcDiscoveryServer(Uri address)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 ( |
Properties
SystemContext
Gets the OpcContext which is used to store the context sensitive data and configuration used by the current OpcDiscoveryServer instance.
public override OpcContext SystemContext { get; }Public Overrides ReadOnly Property SystemContext As OpcContextProperty value
An instance of the OpcContext class which might be at least Empty.
Overrides
Methods
CreateConfiguration
Creates the configuration which is used to start the discovery server.
[CLSCompliant(false)]
protected override OpcApplicationConfiguration CreateConfiguration()<CLSCompliant(False)>
Protected Overrides Function CreateConfiguration() As OpcApplicationConfigurationReturns
The OpcApplicationConfiguration created by the base class. If it defines no security policy for the discovery server, a policy using the security mode SignAndEncrypt and the security policy Basic128Rsa15 is added.
Overrides
StartCore
Starts the discovery server using the configuration specified.
[CLSCompliant(false)]
protected override void StartCore(OpcApplicationConfiguration configuration)<CLSCompliant(False)>
Protected Overrides Sub StartCore(configuration As OpcApplicationConfiguration)Parameters
| Name | Type | Description |
|---|---|---|
configuration | Opc | The Opc |
Overrides
StopCore
Stops the discovery server.
protected override void StopCore()Protected Overrides Sub StopCore()Overrides

