FÖRSÄLJNING: 1-800-867-1389
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

BrokeredMessage.ExpiresAtUtc Property

 

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

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Public ReadOnly Property ExpiresAtUtc As Date

Property Value

Type: System.DateTime

The message expiration time in UTC.

Exception Condition
ObjectDisposedException

Thrown if the message is in disposed state.

InvalidOperationException

If the message has not been delivered by ServerBus.

After the expiration time the message will be dead lettered if dead lettering is turned on, otherwise the message will be discarded from the system.

See EnableDeadLetteringOnMessageExpiration and EnableDeadLetteringOnMessageExpiration to learn more about how to control dead lettering setting for Queues and Subscriptions respectively.

See TimeToLive to learn more about configuring message TTL.

Return to top
Var detta till hjälp?
(1500 tecken kvar)
Tack för dina kommentarer
Visa:
© 2015 Microsoft