Freigeben über


ExpirationAge Element (ADF)

Specifies the amount of time to elapse before unsent messages of the associated notification class are considered to have expired.

Syntax

<NotificationClasses>
    <NotificationClass>
        ...
        <ExpirationAge>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

None (notifications never expire).

Occurrence

Optional once per NotificationClass element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

NotificationClass Element (ADF)

Child elements

None.

Hinweise

If no ExpirationAge value is specified, notifications never expire. Notification Services continues to attempt delivery of all notifications until the retry schedule is exhausted.

During delivery, Notification Services ignores any notifications that have expired per the ExpirationAge value.

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the Microsoft MSDN® Library.

Beispiel

The following example shows how to set an expiration age of one hour and thirty minutes. If notifications are not sent within this time, Notification Services ignores them for all future delivery attempts, regardless of the retry schedule.

<ExpirationAge>PT01H30M00S</ExpirationAge>

Siehe auch

Verweis

Application Definition File Reference

Andere Ressourcen

Angeben des Benachrichtigungsablaufalters
Aktualisieren von Instanzen und Anwendungen

Hilfe und Informationen

Informationsquellen für SQL Server 2005