Skip to content

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 OpcApplication

Type parameters ​

NameDescription
TThe type of the server to host.

Inheritance ​

Object → OpcApplication → OpcServerApplication<T>

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcServerApplication2 overloadsInitializes a new instance of the OpcServerApplication<T> class which hosts a new instance of the type T.

Properties ​

NameDescription
ConfigurationoverrideGets the configuration of the Server.
ServerGets the server hosted by the application.

Methods ​

NameDescription
ExitCoreprotected · overrideStops the Server and raises the Exiting and Exited events.
LoadConfigurationCoreprotected · overrideLoads the server configuration from the configuration section with the configSectionName specified and assigns it to the Server.
RunCoreprotected · overrideStarts the Server and waits until the application exits.

Inherits members from OpcApplication.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59