OPC Studio User's Guide and Reference
GarbageCollectionPeriod Property (UASmartEngineParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UASmartEngineParameters Class : GarbageCollectionPeriod Property
How often the component cleans up unused objects such as sessions and subscriptions. In milliseconds.
Syntax
'Declaration
 
<DataMemberAttribute()>
<DefaultValueAttribute(2000)>
<UnitAttribute("ms")>
Public Property GarbageCollectionPeriod As Integer
'Usage
 
Dim instance As UASmartEngineParameters
Dim value As Integer
 
instance.GarbageCollectionPeriod = value
 
value = instance.GarbageCollectionPeriod
[DataMember()]
[DefaultValue(2000)]
[Unit("ms")]
public int GarbageCollectionPeriod {get; set;}
[DataMember()]
[DefaultValue(2000)]
[Unit("ms")]
public:
property int GarbageCollectionPeriod {
   int get();
   void set (    int value);
}
Remarks

In order to obtain or modify this parameter, access the EasyUASharedParameters.EngineParameters property of static OpcLabs.EasyOpc.UA.EasyUAClientCore.SharedParameters.

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