OPC Studio User's Guide and Reference
UADataSetData Constructor(UAPublisherId,Int32,Int32,UAStringDataSetFieldDataDictionary,UAGuidDataSetFieldDataDictionary,UAConfigurationVersion)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetData Class > UADataSetData Constructor : UADataSetData Constructor(UAPublisherId,Int32,Int32,UAStringDataSetFieldDataDictionary,UAGuidDataSetFieldDataDictionary,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 field data dictionary.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

The field data dictionary, keyed by dataset field Id.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

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, field data dictionary, field data dictionary keyed by dataset field Id, and configuration version.
Syntax

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.
fieldDataDictionary
The field data dictionary.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

fieldDataDictionaryById
The field data dictionary, keyed by dataset field Id.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

configurationVersion
The version of the dataset configuration.

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

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