Message.DestinationQueue 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 the intended destination queue for a message.
public:
property System::Messaging::MessageQueue ^ DestinationQueue { System::Messaging::MessageQueue ^ get(); };
[System.Messaging.MessagingDescription("MsgDestinationQueue")]
public System.Messaging.MessageQueue DestinationQueue { get; }
[<System.Messaging.MessagingDescription("MsgDestinationQueue")>]
member this.DestinationQueue : System.Messaging.MessageQueue
Public ReadOnly Property DestinationQueue As MessageQueue
Property Value
A MessageQueue that specifies the intended destination queue for the message.
- Attributes
Exceptions
The message has not been sent. This property can only be read on messages retrieved from a queue.
-or-
The message queue is filtered to ignore the DestinationQueue property.
Examples
The following code example displays the value of a message's DestinationQueue property.
Remarks
The DestinationQueue property is most commonly used to determine the original destination of a message that arrived in a journal or dead-letter queue. Usually, you do not need to examine this property, because you typically retrieve the message from its destination queue.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru