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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UAPubSubObjectDescriptor Class : IsStrictlyPhysical Method
The URI string of the PubSub transport profile.
Determines whether the (standard) topic tree is used.
Determines whether this PubSub object descriptor is strictly physical with specified transport profile URI string.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
<PureAttribute()>
Public Overridable Function IsStrictlyPhysical( _
   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.IsStrictlyPhysical(transportProfileUriString, assumeTopicTree)
[DefaultValue(true)]
[Pure()]
public virtual bool IsStrictlyPhysical( 
   string transportProfileUriString,
   bool assumeTopicTree
)
[DefaultValue(true)]
[Pure()]
public:
virtual bool IsStrictlyPhysical( 
   String^ transportProfileUriString,
   bool assumeTopicTree
) 

Parameters

transportProfileUriString
The URI string of the PubSub transport profile.
assumeTopicTree
Determines whether the (standard) topic tree is used.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

The default behavior is that for a PubSub object descriptor to be strictly physical, it must not have a (non-empty) logical name. The behavior of derived descriptors may differ.

When topic tree is assumed (assumeTopicTree is true), the default behavior is that the PubSub object descriptor is always strictly physical.

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