System.Messaging Reference (Document! X Sample)



Priority Property (DefaultPropertiesToSend)
Gets or sets the message priority, which is used to determine where the message is placed in the queue.
Syntax
'Declaration
 
Public Property Priority As MessagePriority
'Usage
 
Dim instance As DefaultPropertiesToSend
Dim value As MessagePriority
 
instance.Priority = value
 
value = instance.Priority
public MessagePriority Priority {get; set;}
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