Receives the first message available in the queue referenced by the
MessageQueue. This call is synchronous, and blocks the current thread of execution until a message is available.
'Declaration
Public Overloads Function Receive() As Message
'Usage
Dim instance As MessageQueue
Dim value As Message
value = instance.Receive()
public:
Message^ Receive();
Return Value
A
Message that references the first message available in the queue.
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