Receives the message that matches the given identifier and waits until either a message with the specified identifier is available in the queue or the time-out expires.
Parameters
- id
- The Id of the message to receive.
- timeout
- A System.TimeSpan that indicates the time to wait until a new message is available for inspection.
- transactionType
- One of the MessageQueueTransactionType values, describing the type of transaction context to associate with the message.
Return Value
The
Message whose
Id property matches the parameter passed in.
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