OPC Studio User's Guide and Reference
UASubscriptionParameters Constructor(Int32,Byte)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UASubscriptionParameters Class > UASubscriptionParameters Constructor : UASubscriptionParameters Constructor(Int32,Byte)
The publishing interval (in milliseconds). Defines the cyclic rate that the Subscription is requested to return Notifications to the Client.
Indicates the relative priority of the Subscription.
Syntax
'Declaration
 
Public Function New( _
   ByVal publishingInterval As Integer, _
   ByVal priority As Byte _
)
'Usage
 
Dim publishingInterval As Integer
Dim priority As Byte
 
Dim instance As New UASubscriptionParameters(publishingInterval, priority)
public UASubscriptionParameters( 
   int publishingInterval,
   byte priority
)
public:
UASubscriptionParameters( 
   int publishingInterval,
   byte priority
)

Parameters

publishingInterval
The publishing interval (in milliseconds). Defines the cyclic rate that the Subscription is requested to return Notifications to the Client.
priority
Indicates the relative priority of the Subscription.
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