Message.SystemPropertiesCollection.LockedUntilUtc Property

Definition

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

public DateTime LockedUntilUtc { get; }
member this.LockedUntilUtc : DateTime
Public ReadOnly Property LockedUntilUtc As DateTime

Property Value

DateTime

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