OPC Studio 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
 
<UnitAttribute("ms")>
<ValueLimitsAttribute(0, 1.79769313486232E+308)>
Public Property KeepAliveTime As Double
'Usage
 
Dim instance As UAWriterGroupElement
Dim value As Double
 
instance.KeepAliveTime = value
 
value = instance.KeepAliveTime
[Unit("ms")]
[ValueLimits(0, 1.79769313486232E+308)]
public double KeepAliveTime {get; set;}
[Unit("ms")]
[ValueLimits(0, 1.79769313486232E+308)]
public:
property double KeepAliveTime {
   double get();
   void set (    double value);
}

Property Value

Unit of measurement is ms.

The default value of this property is 0.

Exceptions
ExceptionDescription

The value of an argument is outside the allowable range of values as defined by the invoked method.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

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