Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ServiceBusReceivedMessage.LockedUntil Property

Definition

Namespace:
Azure.Messaging.ServiceBus
Assembly:
Azure.Messaging.ServiceBus.dll
Package:
Azure.Messaging.ServiceBus v7.20.1
Package:
Azure.Messaging.ServiceBus v7.18.0-beta.1
Source:
ServiceBusReceivedMessage.cs
Source:
ServiceBusReceivedMessage.cs

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.

Gets the date and time in UTC until which the message will be locked in the queue/subscription.

public DateTimeOffset LockedUntil { get; }
member this.LockedUntil : DateTimeOffset
Public ReadOnly Property LockedUntil As DateTimeOffset

Property Value

The date and time until which the message will be locked in the queue/subscription.

Remarks

For messages retrieved under a lock (peek-lock receive mode, not pre-settled) this property reflects the UTC instant until which the message is held locked in the queue/subscription. When the lock expires, the DeliveryCount is incremented and the message is again available for retrieval. This property is read-only.

Applies to


Feedback

Was this page helpful?