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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UASubscriptionParameters Class : Priority Property
Indicates the relative priority of the Subscription (0 = no special priority required).
Syntax
'Declaration
 
<DefaultValueAttribute(255)>
Public Property Priority As Byte
'Usage
 
Dim instance As UASubscriptionParameters
Dim value As Byte
 
instance.Priority = value
 
value = instance.Priority
[DefaultValue(255)]
public byte Priority {get; set;}
[DefaultValue(255)]
public:
property byte Priority {
   byte get();
   void set (    byte value);
}

Property Value

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 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