ServiceBusReceivedMessage.ExpiresAt Property
Definition
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 at which the message is set to expire.
public DateTimeOffset ExpiresAt { get; }
member this.ExpiresAt : DateTimeOffset
Public ReadOnly Property ExpiresAt As DateTimeOffset
Property Value
The message expiration time in UTC. This property is read-only.
Exceptions
If the message has not been received. For example if a new message was created but not yet sent and received.
Remarks
The UTC instant at which the message is marked for removal and no longer available for retrieval from the entity due to expiration. Expiry is controlled by the TimeToLive property and this property is computed from EnqueuedTime+TimeToLive