다음을 통해 공유


Message.ExpiresAtUtc Property

Definition

Gets the date and time in UTC at which the message is set to expire.

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

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 EnqueuedTimeUtc+TimeToLive

Applies to