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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetWriterDescriptor Class : IsStrictlyPhysical 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 is strictly physical with specified transport profile URI string.
Syntax
'Declaration
 
<PureAttribute()>
Public Overrides NotOverridable Function IsStrictlyPhysical( _
   ByVal transportProfileUriString As String, _
   ByVal assumeTopicTree As Boolean _
) As Boolean
'Usage
 
Dim instance As UADataSetWriterDescriptor
Dim transportProfileUriString As String
Dim assumeTopicTree As Boolean
Dim value As Boolean
 
value = instance.IsStrictlyPhysical(transportProfileUriString, assumeTopicTree)
[Pure()]
public override bool IsStrictlyPhysical( 
   string transportProfileUriString,
   bool assumeTopicTree
)
[Pure()]
public:
bool IsStrictlyPhysical( 
   String^ transportProfileUriString,
   bool assumeTopicTree
) override 

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.
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

With transport profiles that use JSON, the dataset writer descriptor is always strictly physical. With other transport profiles, for a dataset writer descriptor to be strictly physical, it must not have a (non-empty) logical name.

When topic tree is assumed (assumeTopicTree is true), the dataset writer descriptor is always strictly physical.

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