Connectivity Software User's Guide and Reference
GetAddressElements Method (EasySparkplugMetricNotificationEventArgs)



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug.OperationModel Namespace > EasySparkplugMetricNotificationEventArgs Class : GetAddressElements Method
The address elements of the Sparkplug component associated with the notification event arguments.
Syntax
'Declaration
 
<JetBrains.Annotations.ItemNotNullAttribute()>
<JetBrains.Annotations.NotNullAttribute()>
Protected Overrides Function GetAddressElements() As IEnumerable(Of String)
'Usage
 
Dim instance As EasySparkplugMetricNotificationEventArgs
Dim value As IEnumerable(Of String)
 
value = instance.GetAddressElements()
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
protected override IEnumerable<string> GetAddressElements()
[JetBrains.Annotations.ItemNotNull()]
[JetBrains.Annotations.NotNull()]
protected:
IEnumerable<String^>^ GetAddressElements(); override 

Return Value

Returns a sequence of strings that can be used to address the Sparkplug component associated with the notification event arguments.

This method never returns null (Nothing in Visual Basic).

The individual elements of the returned value are never null (Nothing in Visual Basic).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

 

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