OPC Studio User's Guide and Reference
IsValidPublishingInterval Method



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

Parameters

publishingInterval
The publishing interval to be tested.

Return Value

true if publishingInterval is a valid publishing interval; 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