ServiceBusReceivedMessage.LockedUntil Property

Definition

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