Connectivity Software User's Guide and Reference
SparkplugSystemDescriptor Constructor(String,SparkplugConnectionDescriptor,SparkplugVersions)



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > SparkplugSystemDescriptor Class > SparkplugSystemDescriptor Constructor : SparkplugSystemDescriptor Constructor(String,SparkplugConnectionDescriptor,SparkplugVersions)
The Sparkplug system ID.

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

The Sparkplug connection descriptor.

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

The Sparkplug version used by the system.
Initializes a new instance of the class with the specified Sparkplug system ID, connection descriptor, and Sparkplug version.
Syntax
'Declaration
 
Public Function New( _
   ByVal systemId As String, _
   ByVal connectionDescriptor As SparkplugConnectionDescriptor, _
   ByVal sparkplugVersion As SparkplugVersions _
)
'Usage
 
Dim systemId As String
Dim connectionDescriptor As SparkplugConnectionDescriptor
Dim sparkplugVersion As SparkplugVersions
 
Dim instance As New SparkplugSystemDescriptor(systemId, connectionDescriptor, sparkplugVersion)

Parameters

systemId
The Sparkplug system ID.

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

connectionDescriptor
The Sparkplug connection descriptor.

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

sparkplugVersion
The Sparkplug version used by the system.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

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.

Remarks

 

Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.

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