OPC Studio User's Guide and Reference
RequiresResolution Method (UAPubSubObjectDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubObjectDescriptor Class : RequiresResolution Method
The URI string of the PubSub transport profile.

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

Determines whether the (standard) topic tree is used.
Determines whether this PubSub object descriptor requires a resolution (in order to obtain the necessary physical information) with specified transport profile URI string.
Syntax
'Declaration
 
<PureAttribute()>
Public MustOverride Function RequiresResolution( _
   ByVal transportProfileUriString As String, _
   ByVal assumeTopicTree As Boolean _
) As Boolean
'Usage
 
Dim instance As UAPubSubObjectDescriptor
Dim transportProfileUriString As String
Dim assumeTopicTree As Boolean
Dim value As Boolean
 
value = instance.RequiresResolution(transportProfileUriString, assumeTopicTree)
[Pure()]
public abstract bool RequiresResolution( 
   string transportProfileUriString,
   bool assumeTopicTree
)
[Pure()]
public:
abstract bool RequiresResolution( 
   String^ transportProfileUriString,
   bool assumeTopicTree
) 

Parameters

transportProfileUriString
The URI string of the PubSub transport profile.

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

assumeTopicTree
Determines whether the (standard) topic tree is used.

Return Value

Returns true if the PubSub object descriptor requires resolution with the transport profile specified by transportProfileUriString; returns false otherwise.
Remarks

This method is pure, i.e. it does not have observable side effects.

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