OPC Studio User's Guide and Reference
IsValidMaximumAge Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAUtilities Class : IsValidMaximumAge Method
The value age to be tested.
Determines whether a given maximum age is valid in OPC Unified Architecture.
Syntax
'Declaration
 
<PureAttribute()>
Public Shared Function IsValidMaximumAge( _
   ByVal maximumAge As Double _
) As Boolean
'Usage
 
Dim maximumAge As Double
Dim value As Boolean
 
value = UAUtilities.IsValidMaximumAge(maximumAge)
[Pure()]
public static bool IsValidMaximumAge( 
   double maximumAge
)
[Pure()]
public:
static bool IsValidMaximumAge( 
   double maximumAge
) 

Parameters

maximumAge
The value age to be tested.

Return Value

true if maximumAge is a valid maximum age; false otherwise.
Remarks

This method is pure, i.e. it does not have observable side effects.

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