This topic has not yet been rated - 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 name Description
PeekLock Specifies 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.

ReceiveAndDelete Specifies the ReceiveAndDelete receive mode.

This mode deletes the message after it is received.

Did you find this helpful?
(1500 characters remaining)