Reference
OpcServerApplication Class
Provides a base class for applications which host a server of the type T and start it when the application is run.
Reference
OpcServerApplication<T> Class
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcServerApplication<T> Members
Provides a base class for applications which host a server of the type T and start it when the application is run.
Syntax
csharp
[CLSCompliant(false)]
public class OpcServerApplication<T> : OpcApplication
where T : OpcServerBase, new()vbnet
<CLSCompliant(False)>
Public Class OpcServerApplication(Of T As {OpcServerBase, New})
Inherits OpcApplicationType parameters
| Name | Description |
|---|---|
T | The type of the server to host. |
Inheritance
Object → OpcApplication → OpcServerApplication<T>
Implements
Derived types
Constructors
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the OpcT. |
Properties
| Name | Description |
|---|---|
| Configuration | Gets the configuration of the Server. |
| Server | Gets the server hosted by the application. |
Methods
| Name | Description |
|---|---|
| ExitCore | Stops the Server and raises the Exiting and Exited events. |
| Load | Loads the server configuration from the configuration section with the config specified and assigns it to the Server. |
| RunCore | Starts the Server and waits until the application exits. |
Inherits members from OpcApplication.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

