Priority Property (DefaultPropertiesToSend)
Gets or sets the message priority, which is used to determine where the message is placed in the queue.
Syntax
'Declaration <DefaultValueAttribute()> <MessagingDescriptionAttribute("Message priority affects how MSMQ handles the message while it is in route, as well as where the message is placed in the queue.")> Public Property Priority As MessagePriority
'Usage Dim instance As DefaultPropertiesToSend Dim value As MessagePriority instance.Priority = value value = instance.Priority
[DefaultValue()] [MessagingDescription("Message priority affects how MSMQ handles the message while it is in route, as well as where the message is placed in the queue.")] public MessagePriority Priority {get; set;}
[DefaultValue()] [MessagingDescription("Message priority affects how MSMQ handles the message while it is in route, as well as where the message is placed in the queue.")] public: property MessagePriority Priority { MessagePriority get(); void set ( MessagePriority value); }
Property Value
One of the MessagePriority enumeration values that represents the priority level of a non-transactional message. The default is Normal.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