OPC Studio User's Guide and Reference
EnableModelCaching Property (_EasyUAClientInstanceParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine.ComTypes Namespace > _EasyUAClientInstanceParameters Interface : EnableModelCaching Property
Enables caching of the model information.
Syntax
'Declaration
 
Property EnableModelCaching As Boolean
'Usage
 
Dim instance As _EasyUAClientInstanceParameters
Dim value As Boolean
 
instance.EnableModelCaching = value
 
value = instance.EnableModelCaching
bool EnableModelCaching {get; set;}
property bool EnableModelCaching {
   bool get();
   void set (    bool value);
}

Property Value

The default value of this property is True.

Remarks

The caching is enabled by default. The caching creates a subscription (for model change events), and one reason to disable it might be to prevent an unwanted subscription with servers that have limited resources.

The model information is used e.g. in the specialized client objects for File Transfer, or Publish-Subscribe.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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