Reference
OpcServerApplication Members
Represents an application which hosts an OpcServer and starts it when the application is run.
Reference
OpcServerApplication Members
- Type
- OpcServerApplication
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcServerApplication<OpcServer>, OpcApplication.
Constructors
OpcServerApplication
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcserver specified. |
| Opc | Initializes a new instance of the Opcaddress and nodeManagers specified. |
| Opc | Initializes a new instance of the Opcaddress and nodeManagers specified. |
| Opc | Initializes a new instance of the Opcaddress and nodeManagers specified. |
| Opc | Initializes a new instance of the Opcaddress and nodeManagers specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Invalid | An application has already been created on the current thread and has not yet been exited ( |
OpcServerApplication(OpcServer)
Initializes a new instance of the OpcServerApplication class using the server specified.
public OpcServerApplication(OpcServer server)Public Sub New(server As OpcServer)Parameters
| Name | Type | Description |
|---|---|---|
server | OpcServer | The OpcServer to host. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The server is a null reference ( |
OpcServerApplication(string, IEnumerable<OpcNodeManager>)
Initializes a new instance of the OpcServerApplication class which hosts a new OpcServer using the address and nodeManagers specified.
public OpcServerApplication(
string address,
IEnumerable<OpcNodeManager> nodeManagers)Public Sub New(
address As String,
nodeManagers As IEnumerable(Of OpcNodeManager))Parameters
| Name | Type | Description |
|---|---|---|
address | String | The string representation of the address of the server which needs to use one of the supported schemes 'opc. |
nodeManagers | IEnumerable<OpcNodeManager> | A sequence of OpcNodeManager instances which provide the address space of the server. The first node manager is used as the Default |
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 or nodeManagers sequence or one of its items is a null reference ( |
OpcServerApplication(Uri, IEnumerable<OpcNodeManager>)
Initializes a new instance of the OpcServerApplication class which hosts a new OpcServer using the address and nodeManagers specified.
public OpcServerApplication(
Uri address,
IEnumerable<OpcNodeManager> nodeManagers)Public Sub New(address As Uri, nodeManagers As IEnumerable(Of OpcNodeManager))Parameters
| Name | Type | Description |
|---|---|---|
address | Uri | The Uri of the address of the server which needs to use one of the supported schemes 'opc. |
nodeManagers | IEnumerable<OpcNodeManager> | A sequence of OpcNodeManager instances which provide the address space of the server. The first node manager is used as the Default |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The address does not use one of the supported schemes 'opc. |
| Argument | The address or nodeManagers sequence or one of its items is a null reference ( |
OpcServerApplication(string, params OpcNodeManager[])
Initializes a new instance of the OpcServerApplication class which hosts a new OpcServer using the address and nodeManagers specified.
public OpcServerApplication(
string address,
params OpcNodeManager[] nodeManagers)Public Sub New(address As String, ParamArray nodeManagers As OpcNodeManager())Parameters
| Name | Type | Description |
|---|---|---|
address | String | The string representation of the address of the server which needs to use one of the supported schemes 'opc. |
nodeManagers | params OpcNodeManager[] | An array of OpcNodeManager instances which provide the address space of the server. The first node manager is used as the Default |
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 or nodeManagers array or one of its items is a null reference ( |
OpcServerApplication(Uri, params OpcNodeManager[])
Initializes a new instance of the OpcServerApplication class which hosts a new OpcServer using the address and nodeManagers specified.
public OpcServerApplication(Uri address, params OpcNodeManager[] nodeManagers)Public Sub New(address As Uri, ParamArray nodeManagers As OpcNodeManager())Parameters
| Name | Type | Description |
|---|---|---|
address | Uri | The Uri of the address of the server which needs to use one of the supported schemes 'opc. |
nodeManagers | params OpcNodeManager[] | An array of OpcNodeManager instances which provide the address space of the server. The first node manager is used as the Default |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The address does not use one of the supported schemes 'opc. |
| Argument | The address or nodeManagers array or one of its items is a null reference ( |

