QuickOPC User's Guide and Reference
UADataSetSubscriptionDescriptor Constructor(UAPubSubConnectionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetSubscriptionDescriptor Class > UADataSetSubscriptionDescriptor Constructor : UADataSetSubscriptionDescriptor Constructor(UAPubSubConnectionDescriptor)
Descriptor for a PubSub connection (using physical parameters, or logical name).
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectionDescriptor As UAPubSubConnectionDescriptor _
)
'Usage
 
Dim connectionDescriptor As UAPubSubConnectionDescriptor
 
Dim instance As New UADataSetSubscriptionDescriptor(connectionDescriptor)
public UADataSetSubscriptionDescriptor( 
   UAPubSubConnectionDescriptor connectionDescriptor
)
public:
UADataSetSubscriptionDescriptor( 
   UAPubSubConnectionDescriptor^ connectionDescriptor
)

Parameters

connectionDescriptor
Descriptor for a PubSub connection (using physical parameters, or logical name).
Remarks

There is an implicit conversion from System.String to UAPubSubConnectionDescriptor, but note that it cannot be used with this constructor, because there is already a UADataSetSubscriptionDescriptor constructor that takes System.String as an argument, and it will take precedence. Use explicit conversion from System.String to UAPubSubConnectionDescriptor to get around this.

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