OPC Studio User's Guide and Reference
AssumeTopicTree Property (UADataSetSubscriptionDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetSubscriptionDescriptor Class : AssumeTopicTree Property
Determines whether the (standard) topic tree will forcibly be used.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Property AssumeTopicTree As Boolean
'Usage
 
Dim instance As UADataSetSubscriptionDescriptor
Dim value As Boolean
 
instance.AssumeTopicTree = value
 
value = instance.AssumeTopicTree
[DefaultValue(false)]
public bool AssumeTopicTree {get; set;}
[DefaultValue(false)]
public:
property bool AssumeTopicTree {
   bool get();
   void set (    bool value);
}
Remarks

Using the topic tree has two major effects:

When all queue names (such as OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.QueueName and OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.MetaDataQueueName) are unspecified (empty strings, which are the default), and the UAPubSubConnectionDescriptor.EffectiveTransportProfileUriString in the ConnectionDescriptor is for transport that uses the topic tree (such as MQTT), the EffectiveAssumeTopicTree becomes true, and you do not have to set AssumeTopicTree to true explicitly in order for the topic tree to be assumed.

CAUTION: With the topic tree (AssumeTopicTree set to true), do not set the queue names by setting values of OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.QueueName or OpcLabs.EasyOpc.UA.PubSub.Configuration.UABrokerDataSetReaderTransportParameters.MetaDataQueueName, except in very special circumstances. Leave the queue names at their default values, i.e. empty strings. Setting queue names can interfere negatively with the built-in mechanism that determines the proper topic filters.

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