OPC Studio User's Guide and Reference
UAPubSubLocators Constructor(UAPublisherId,Int32,Int32)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubLocators Class > UAPubSubLocators Constructor : UAPubSubLocators Constructor(UAPublisherId,Int32,Int32)
The publisher Id.

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

The writer group Id.

Valid values of this parameter are in the range from 0 to 65535.

The dataset writer Id.

Valid values of this parameter are in the range from 0 to 65535.

Initializes a new instance of the class, specifying the publisher Id, writer group Id, and dataset writer Id.
Syntax
'Declaration
 
Public Function New( _
   ByVal publisherId As UAPublisherId, _
   ByVal writerGroupId As Integer, _
   ByVal dataSetWriterId As Integer _
)
'Usage
 
Dim publisherId As UAPublisherId
Dim writerGroupId As Integer
Dim dataSetWriterId As Integer
 
Dim instance As New UAPubSubLocators(publisherId, writerGroupId, dataSetWriterId)

Parameters

publisherId
The publisher Id.

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

writerGroupId
The writer group Id.

Valid values of this parameter are in the range from 0 to 65535.

dataSetWriterId
The dataset writer Id.

Valid values of this parameter are in the range from 0 to 65535.

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