OPC Studio User's Guide and Reference
UAModelClient Constructor(UAModel,IEasyUAClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UAModelClient Class > UAModelClient Constructor : UAModelClient Constructor(UAModel,IEasyUAClient)
The OPC-UA information model. A null reference for no model.

The value of this parameter can be null (Nothing in Visual Basic).

The client object that will be used for OPC operations.

This is typically the OpcLabs.EasyOpc.UA.EasyUAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class, with the given model (optional), and specified client object.
Syntax
'Declaration
 
Public Function New( _
   ByVal model As UAModel, _
   ByVal client As IEasyUAClient _
)
'Usage
 
Dim model As UAModel
Dim client As IEasyUAClient
 
Dim instance As New UAModelClient(model, client)
public UAModelClient( 
   UAModel model,
   IEasyUAClient client
)
public:
UAModelClient( 
   UAModel^ model,
   IEasyUAClient^ client
)

Parameters

model
The OPC-UA information model. A null reference for no model.

The value of this parameter can be null (Nothing in Visual Basic).

client
The client object that will be used for OPC operations.

This is typically the OpcLabs.EasyOpc.UA.EasyUAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also