BasePriority Property (MessageQueue)
Gets or sets the base priority Message Queuing uses to route a public queue's messages over the network.
Syntax
'Declaration Public Property BasePriority As Short
'Usage Dim instance As MessageQueue Dim value As Short instance.BasePriority = value value = instance.BasePriority
public short BasePriority {get; set;}
Property Value
The single base priority for all messages sent to the (public) queue. The default is zero (0).Exceptions
Exception | Description |
---|---|
System.ArgumentException | The base priority was set to an invalid value. |
MessageQueueException | An error occurred when accessing a Message Queuing method. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also