Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ReceiveMode Enumeration

Enumerates the values for the receive mode.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public enum ReceiveMode
Member nameDescription
PeekLockSpecifies the PeekLock receive mode.

This mode receives the message but keeps it peek-locked until the receiver abandons the message. The maximum timeout is 5 minutes before message expiration.

ReceiveAndDeleteSpecifies the ReceiveAndDelete receive mode.

This mode deletes the message after it is received.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.