OPC Studio User's Guide and Reference
UAConfigurationVersion Constructor(Int64,Int64)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace > UAConfigurationVersion Class > UAConfigurationVersion Constructor : UAConfigurationVersion Constructor(Int64,Int64)
Reflects the time of the last major change of the dataset content.
Reflects the time of the last change.
Initializes a new instance of the class, specifying the major and minor version date/time using integers.
Syntax
'Declaration
 
Public Function New( _
   ByVal majorVersionTime As Long, _
   ByVal minorVersionTime As Long _
)
'Usage
 
Dim majorVersionTime As Long
Dim minorVersionTime As Long
 
Dim instance As New UAConfigurationVersion(majorVersionTime, minorVersionTime)
public UAConfigurationVersion( 
   long majorVersionTime,
   long minorVersionTime
)
public:
UAConfigurationVersion( 
   int64 majorVersionTime,
   int64 minorVersionTime
)

Parameters

majorVersionTime
Reflects the time of the last major change of the dataset content.
minorVersionTime
Reflects the time of the last change.
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.

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