ServiceBusReceiveMode Enum

Definition

The mode in which to receive messages.

public enum ServiceBusReceiveMode
type ServiceBusReceiveMode = 
Public Enum ServiceBusReceiveMode
Inheritance
ServiceBusReceiveMode

Fields

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