Export (0) Print
Expand All

MessageQueue.ReceiveById Method

Receives the message that matches the given identifier, removing it from the queue.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ReceiveById(String) Receives the message that matches the given identifier from a non-transactional queue and immediately raises an exception if no message with the specified identifier currently exists in the queue.
Public method ReceiveById(String, MessageQueueTransaction) Receives the message that matches the given identifier (from a transactional queue) and immediately raises an exception if no message with the specified identifier currently exists in the queue.
Public method ReceiveById(String, MessageQueueTransactionType) Receives the message that matches the given identifier and immediately raises an exception if no message with the specified identifier currently exists in the queue.
Public method ReceiveById(String, TimeSpan) Receives the message that matches the given identifier (from a non-transactional queue) and waits until either a message with the specified identifier is available in the queue or the time-out expires.
Public method ReceiveById(String, TimeSpan, MessageQueueTransaction) Receives the message that matches the given identifier (from a transactional queue) and waits until either a message with the specified identifier is available in the queue or the time-out expires.
Public method ReceiveById(String, TimeSpan, MessageQueueTransactionType) 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.
Top
Show:
© 2014 Microsoft