QuickOPC User's Guide and Reference
GetPublishSubscribeElement Method (EasyUAPublishSubscribeClient)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.InformationModel Namespace > EasyUAPublishSubscribeClient Class : GetPublishSubscribeElement Method
The endpoint descriptor of the OPC UA server containing the PubSub information model.
Gets the publish-subscribe object element in the PubSub information model.
Syntax
'Declaration
 
Public Function GetPublishSubscribeElement( _
   ByVal endpointDescriptor As UAEndpointDescriptor _
) As UAPublishSubscribeElement
'Usage
 
Dim instance As EasyUAPublishSubscribeClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim value As UAPublishSubscribeElement
 
value = instance.GetPublishSubscribeElement(endpointDescriptor)

Parameters

endpointDescriptor
The endpoint descriptor of the OPC UA server containing the PubSub information model.

Return Value

Returns the publish-subscribe object element.
Exceptions
ExceptionDescription
A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.
The OPC UA operation has failed.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012 R2, Windows Server 2016; .NET: Linux, macOS, Microsoft Windows

See Also