OPC Studio User's Guide and Reference
Priority Property (_UASubscriptionParameters)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UASubscriptionParameters Interface : Priority Property
Indicates the relative priority of the Subscription (0 = no special priority required).
Syntax
'Declaration
 
Property Priority As Byte
'Usage
 
Dim instance As _UASubscriptionParameters
Dim value As Byte
 
instance.Priority = value
 
value = instance.Priority
byte Priority {get; set;}
property byte Priority {
   byte get();
   void set (    byte value);
}

Property Value

The default value of this property is 255 (Byte.MaxValue).

Returns the relative priority.
Remarks

"When more than one Subscription needs to send Notifications, the Server should de-queue a Publish request to the Subscription with the highest priority number. For Subscriptions with equal priority the Server should de-queue Publish requests in a round-robin fashion.

A Client that does not require special priority settings should set this value to zero."

In order to obtain or modify this parameter, access the OpcLabs.EasyOpc.UA.OperationModel.UAMonitoredItemArguments.SubscriptionParameters.

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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