Поделиться через


RetrySchedule Element (ADF)

Provides a location for defining the intervals at which to attempt to resend notifications if delivery attempts fail.

Синтаксис

<NotificationClasses>
    <NotificationClass>
        ...
        <Protocols>
            ...
            <ProtocolExecutionSettings>
                <RetrySchedule>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per ProtocolExecutionSettings element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

ProtocolExecutionSettings Element (ADF)

Child elements

RetryDelay Element (ADF)

Замечания

The retry schedule is for a distributor work item; each work item with unsuccessful deliveries is retried on the specified schedule. During each retry, Notification Services retries only those notifications that have not been sent successfully.

If you do not provide a retry schedule, Notification Services does not attempt to deliver failed notifications.

The RetrySchedule element can contain multiple RetryDelay elements so you can define multiple retry intervals. Each RetryDelay value is relative to the previous delay, not to the original failure time.

Пример

The following example shows a RetrySchedule element that sets two retry attempts. The first retry will occur 5 minutes after the initial attempt. If that also fails, another retry will occur 15 minutes after the previous attempt.

<RetrySchedule>
    <RetryDelay>P0DT00H05M00S</RetryDelay>
    <RetryDelay>P0DT00H15M00S</RetryDelay>
</RetrySchedule>

См. также

Справочник

Application Definition File Reference

Другие ресурсы

Настройка протоколов доставки
Установка настроек выполнения протокола доставки
Обновление экземпляров и приложений

Справка и поддержка

Получение помощи по SQL Server 2005