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


FailuresBeforeAbort Element (ADF)

Specifies the number of consecutive notification delivery failures that can occur when attempting to deliver a distributor work item before the attempt is aborted and an error is reported to the event log.

Синтаксис

<NotificationClasses>
    <NotificationClass>
        ...
        <Protocols>
            <Protocol>
                <ProtocolExecutionSettings>
                    ...
                    <FailuresBeforeAbort>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

20.

Occurrence

Optional once per ProtocolExecutionSettings element.

Updates

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

Element Relationships

Relationship Elements

Parent element

ProtocolExecutionSettings Element (ADF)

Child elements

None.

Замечания

When the FailuresBeforeAbort limit is reached, the distributor writes a message to the application log and then marks the work item as failed. In this case, there might be notifications in the work item that were never attempted. If there is a retry schedule, the distributor will pick up the work item at the next retry interval and retry both the failed notifications and those that were never attempted.

Пример

The following example shows how to specify that ten consecutive delivery failures are permissible before aborting any further attempts.

<FailuresBeforeAbort>10</FailuresBeforeAbort>

См. также

Справочник

Application Definition File Reference

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

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

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

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