編集

次の方法で共有


MsmqIntegrationMessageProperty.Priority Property

Definition

Gets or sets the message priority, which determines where in the queue the message is placed.

public:
 property Nullable<System::Messaging::MessagePriority> Priority { Nullable<System::Messaging::MessagePriority> get(); void set(Nullable<System::Messaging::MessagePriority> value); };
public System.Messaging.MessagePriority? Priority { get; set; }
member this.Priority : Nullable<System.Messaging.MessagePriority> with get, set
Public Property Priority As Nullable(Of MessagePriority)

Property Value

The message priority. The values are defined by MessagePriority.

Exceptions

The value is not null and is not within the range of MessagePriority values.

Remarks

Priority affects how Message Queuing (MSMQ) handles the message both while it is en route and once it reaches its destination. Higher-priority messages are given preference during routing and inserted toward the front of the destination queue. Messages with the same priority are placed in the queue according to their arrival time.

Applies to