Skip to content

Reference

OpcClientApplication Class

Provides a base class for applications which host a client of the type T and connect it to the server when the application is run.

Reference

OpcClientApplication<T> Class ​

Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcClientApplication<T> Members
Also in
Opc.UaFx.Client

Provides a base class for applications which host a client of the type T and connect it to the server when the application is run.

Syntax ​

csharp
[CLSCompliant(false)]
public class OpcClientApplication<T> : OpcApplication where T : OpcClient, new()
vbnet
<CLSCompliant(False)>
Public Class OpcClientApplication(Of T As {OpcClient, New})
    Inherits OpcApplication

Type parameters ​

NameDescription
TThe type of the client to host.

Inheritance ​

Object → OpcApplication → OpcClientApplication<T>

Implements ​

Derived types ​

Constructors ​

NameDescription
OpcClientApplication2 overloadsInitializes a new instance of the OpcClientApplication<T> class which hosts a new instance of the type T.

Properties ​

NameDescription
ClientGets the client hosted by the application.
ConfigurationoverrideGets the configuration of the Client.

Methods ​

NameDescription
ExitCoreprotected · overrideDisconnects the Client from the server and raises the Exiting and Exited events.
LoadConfigurationCoreprotected · overrideLoads the client configuration from the configuration section with the configSectionName specified and assigns it to the Client.
RunCoreprotected · overrideConnects the Client to the server and waits until the application exits.

Inherits members from OpcApplication.

Applies to ​

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