ServiceBusReceiveMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The mode in which to receive messages.
public enum ServiceBusReceiveMode
type ServiceBusReceiveMode =
Public Enum ServiceBusReceiveMode
- Inheritance
-
ServiceBusReceiveMode
Fields
Name | Value | Description |
---|---|---|
PeekLock | 0 | Once a message is received in this mode, the receiver has a lock on the message for a particular duration. If the message is not settled by this time, it lands back on Service Bus to be fetched by the next receive operation. |
ReceiveAndDelete | 1 | ReceiveAndDelete will delete the message from Service Bus as soon as the message is delivered. |
Applies to
Azure SDK for .NET