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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.LiveMapping Namespace > UAClientMapper Class > UAClientMapper Constructor : UAClientMapper Constructor(IEasyUAClient,UAMappingProvider,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 provider to be used by this mapper.

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, mapping provider, and mapping context template.
Syntax
'Declaration
 
Public Function New( _
   ByVal client As IEasyUAClient, _
   ByVal mappingProvider As UAMappingProvider, _
   ByVal mappingContextTemplate As UAMappingContext _
)
'Usage
 
Dim client As IEasyUAClient
Dim mappingProvider As UAMappingProvider
Dim mappingContextTemplate As UAMappingContext
 
Dim instance As New UAClientMapper(client, mappingProvider, 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).

mappingProvider
The mapping provider to be used by this mapper.

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