Connectivity Software User's Guide and Reference
StrictNamespaceIndexResolution Property



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UAClientSessionParameters Class : StrictNamespaceIndexResolution Property
Syntax
'Declaration
 
Public ReadOnly Property StrictNamespaceIndexResolution As Boolean
'Usage
 
Dim instance As UAClientSessionParameters
Dim value As Boolean
 
value = instance.StrictNamespaceIndexResolution
public bool StrictNamespaceIndexResolution {get;}
public:
property bool StrictNamespaceIndexResolution {
   bool get();
}

Property Value

The default value of this property is False.

Remarks

Some OPC UA servers return invalid namespace indexes e.g. in browsing. When StrictNamespaceIndexResolution is set to true, the elements with invalid namespace indexes in their qualified names are discarded (not returned to the caller). When StrictNamespaceIndexResolution is set to false (the default), the invalid qualified names or node IDs are still returned from the browsing, with an empty OpcLabs.EasyOpc.UA.AddressSpace.UANamespaceQualified.NamespaceUriString.

A seemingly invalid namespace index may also occur if the server has changed its namespace table, but the client has not picked up the change.

Currently, this property is always false.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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