Freigeben über


FailuresBeforeLoggingEvent Element (ADF)

Specifies the number of consecutive work item delivery failures that can occur before reporting an error to the event log.

Syntax

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

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

1.

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.

Hinweise

The FailureBeforeLoggingEvent element works in conjunction with the FailureEventLogInterval element to allow you to configure error logging to fit the needs of your application and to prevent excessive messages in the event log.

Beispiel

The following example shows how to specify that if three consecutive failures occur, Notification Services writes an event to the system event log.

<FailureBeforeLoggingEvent>3</FailureBeforeLoggingEvent>

Siehe auch

Verweis

Application Definition File Reference
FailureEventLogInterval Element (ADF)

Andere Ressourcen

Angeben des Namens und der Felder des Übermittlungsprotokolls
Aktualisieren von Instanzen und Anwendungen

Hilfe und Informationen

Informationsquellen für SQL Server 2005