Table of Contents

Enum ReceiveMode

Namespace
Microsoft.Azure.ServiceBus
Assembly
Microsoft.Azure.ServiceBus.dll

Specifies the behavior of the receiver.

public enum ReceiveMode

Fields

PeekLock = 0

Allows a message to be received, and only deleted from Service Bus when CompleteAsync(string) is called.

ReceiveAndDelete = 1

ReceiveAndDelete will delete the message from Service Bus as soon as the message is delivered.