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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > EasyUAInstanceParameters Class : EnableModelCaching Property
Enables caching of the model information.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property EnableModelCaching As Boolean
'Usage
 
Dim instance As EasyUAInstanceParameters
Dim value As Boolean
 
instance.EnableModelCaching = value
 
value = instance.EnableModelCaching
[DefaultValue(true)]
public bool EnableModelCaching {get; set;}
[DefaultValue(true)]
public:
property bool EnableModelCaching {
   bool get();
   void set (    bool value);
}
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