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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > EasyUAClientInstanceParameters Class : EnableModelCaching Property
Enables caching of the model information.
Syntax
'Declaration
 
Public Property EnableModelCaching As Boolean
'Usage
 
Dim instance As EasyUAClientInstanceParameters
Dim value As Boolean
 
instance.EnableModelCaching = value
 
value = instance.EnableModelCaching
public bool EnableModelCaching {get; set;}
public:
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 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