QuickOPC User's Guide and Reference
KeepAliveTime Property (UAWriterGroupElement)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAWriterGroupElement Class : KeepAliveTime Property
Defines the time in milliseconds until the publisher sends a keep alive dataset message in the case where no dataset message was sent in this period by a dataset writer.
Syntax
'Declaration
 
<ColumnDisplayAttribute(10)>
<DefaultValueAttribute(0)>
<DisplayAttribute(AutoGenerateField=True, 
   Order=303, 
   ShortName="Keep Alive Time")>
<UnitAttribute("ms")>
Public Property KeepAliveTime As Double
'Usage
 
Dim instance As UAWriterGroupElement
Dim value As Double
 
instance.KeepAliveTime = value
 
value = instance.KeepAliveTime
[ColumnDisplay(10)]
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=303, 
   ShortName="Keep Alive Time")]
[Unit("ms")]
public double KeepAliveTime {get; set;}
[ColumnDisplay(10)]
[DefaultValue(0)]
[Display(AutoGenerateField=true, 
   Order=303, 
   ShortName="Keep Alive Time")]
[Unit("ms")]
public:
property double KeepAliveTime {
   double get();
   void set (    double value);
}
Remarks

Zero keep alive time does not make sense, but it is a valid value in this property for implementation reasons.

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