Share via


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.

Sintassi

<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.

Osservazioni

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.

Esempio

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

<FailuresBeforeAbort>10</FailuresBeforeAbort>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Impostazione del nome e dei campi del protocollo di recapito
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005