OPC Studio User's Guide and Reference
UAPubSubHeader Constructor(UAPublisherId,Int32,Int32,Guid,UAConfigurationVersion)



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

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

The writer group Id.
The dataset writer Id.
The dataset class Id.
The version of the dataset configuration.

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

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

Parameters

publisherId
The publisher Id.

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

writerGroupId
The writer group Id.
dataSetWriterId
The dataset writer Id.
dataSetClassId
The dataset class Id.
configurationVersion
The version of the dataset configuration.

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