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 帮助