OPC Studio User's Guide and Reference
UAUadpDataSetReaderMessageParameters Constructor(Int32,Int32,Int64)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAUadpDataSetReaderMessageParameters Class > UAUadpDataSetReaderMessageParameters Constructor : UAUadpDataSetReaderMessageParameters Constructor(Int32,Int32,Int64)
The number of the network message inside a publishing interval in which the dataset message is published.
Defines the offset for the dataset message inside the corresponding network message.
Defines the expected value in the group version field in the header of the network message.
Initializes a new instance of the class, specifying the network message number, dataset offset, and group version as integer.
Syntax
'Declaration
 
Public Function New( _
   ByVal networkMessageNumber As Integer, _
   ByVal dataSetOffset As Integer, _
   ByVal groupVersion As Long _
)
'Usage
 
Dim networkMessageNumber As Integer
Dim dataSetOffset As Integer
Dim groupVersion As Long
 
Dim instance As New UAUadpDataSetReaderMessageParameters(networkMessageNumber, dataSetOffset, groupVersion)
public UAUadpDataSetReaderMessageParameters( 
   int networkMessageNumber,
   int dataSetOffset,
   long groupVersion
)
public:
UAUadpDataSetReaderMessageParameters( 
   int networkMessageNumber,
   int dataSetOffset,
   int64 groupVersion
)

Parameters

networkMessageNumber
The number of the network message inside a publishing interval in which the dataset message is published.
dataSetOffset
Defines the offset for the dataset message inside the corresponding network message.
groupVersion
Defines the expected value in the group version field in the header of the network message.
Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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