OPC Studio User's Guide and Reference
UAClientMapper Constructor(IEasyUAClient,UAMappingContext)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAClientMapper Class > UAClientMapper Constructor : UAClientMapper Constructor(IEasyUAClient,UAMappingContext)
The client object that this mapper will use to make OPC operations.

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

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

The mapping context template.

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

Initializes a new instance of the class, with given client object and mapping context template.
Syntax
'Declaration
 
Public Function New( _
   ByVal client As IEasyUAClient, _
   ByVal mappingContextTemplate As UAMappingContext _
)
'Usage
 
Dim client As IEasyUAClient
Dim mappingContextTemplate As UAMappingContext
 
Dim instance As New UAClientMapper(client, mappingContextTemplate)

Parameters

client
The client object that this mapper will use to make OPC operations.

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

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

mappingContextTemplate
The mapping context template.

The value of this parameter can 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