MsmqIntegrationMessageProperty.Priority Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈