ReceiveCompletedEventArgs.Message 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 message associated with the asynchronous receive operation.
public:
property System::Messaging::Message ^ Message { System::Messaging::Message ^ get(); };
public System.Messaging.Message Message { get; }
member this.Message : System.Messaging.Message
Public ReadOnly Property Message As Message
Property Value
A Message that represents the end result of the asynchronous receive operation.
Exceptions
The Message could not be retrieved. The time-out on the asynchronous operation might have expired.
Remarks
The Message property provides a means for retrieving the message that initiated the end of the asynchronous receive operation.
MessageQueue.EndReceive is called the first time the Message property is read, so it is not necessary to call EndReceive prior to getting the value of this property.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre