Connectivity Software User's Guide and Reference
SelfRequiresResolution Method (UAPubSubConnectionDescriptor)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubConnectionDescriptor Class : SelfRequiresResolution Method
Whether to assume the (standard) topic tree will be used.
Determines whether this connection descriptor requires resolution, using the effective transport profile URI string.
Syntax
'Declaration
 
<JetBrains.Annotations.MustUseReturnValueAttribute()>
<JetBrains.Annotations.PureAttribute()>
Public Function SelfRequiresResolution( _
   ByVal assumeTopicTree As Boolean _
) As Boolean
'Usage
 
Dim instance As UAPubSubConnectionDescriptor
Dim assumeTopicTree As Boolean
Dim value As Boolean
 
value = instance.SelfRequiresResolution(assumeTopicTree)
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public bool SelfRequiresResolution( 
   bool assumeTopicTree
)
[JetBrains.Annotations.MustUseReturnValue()]
[JetBrains.Annotations.Pure()]
public:
bool SelfRequiresResolution( 
   bool assumeTopicTree
) 

Parameters

assumeTopicTree
Whether to assume the (standard) topic tree will be used.

Return Value

true if this connection descriptor requires resolution; otherwise, false.

This return value of this method should not be ignored.

Remarks

This is a convenience method that calls RequiresResolution with the EffectiveTransportProfileUriString. The connection descriptor requires resolution when it has a name but no network address specified.

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