This documentation is archived and is not being maintained.

MessageQueueInstaller.BasePriority Property

Gets or sets the base priority that is used to route a public queue's messages over the network.

Namespace: System.Messaging
Assembly: System.Messaging (in system.messaging.dll)

public short BasePriority { get; set; }
/** @property */
public short get_BasePriority ()

/** @property */
public void set_BasePriority (short value)

public function get BasePriority () : short

public function set BasePriority (value : short)

Property Value

The single base priority for all messages sent to the public queue. The default is zero (0).

The BasePriority is used for routing the queue's messages over the network. Use the BasePriority to give the messages sent to the queue a higher or lower priority than that for messages sent to other queues. When a queue's base priority is set, all the messages sent to it are given a higher priority than that of the messages sent to queues with a lower base priority. The queue's base priority has no effect on the order of the messages in the queue or on how messages are read from the queue.

The BasePriority applies only to public queues that are accessed through the domain controller (in other words, using the public format name). The base priority of private queues and of directly accessed public queues is always zero.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: