共用方式為


ProtocolExecutionSettings Element (ADF)

Contains elements that define execution settings for one delivery protocol.

語法

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

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Protocol element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Protocol Element (ADF)

Child elements

RetrySchedule Element (ADF)

FailuresBeforeLoggingEvent Element (ADF)

FailureEventLogInterval Element (ADF)

FailuresBeforeAbort Element (ADF)

MulticastRecipientLimit Element (ADF)

WorkItemTimeout Element (ADF)

範例

The following example shows how to define the following operational settings for a delivery protocol:

  • Notifications sent using this protocol have two redelivery attempts if initially unsuccessful — the first at 10 minutes after the initial attempt, and the second 15 minutes after that.
  • If three consecutive delivery failures occur while processing a distributor work item, then the whole work item will be aborted and retried according to the schedule defined in the RetrySchedule element.
  • If the application uses multicast delivery, Notification Services will deliver multicast notifications with no more than 10 recipients each.
  • A distributor thread can take 5 minutes in order to complete a work item assigned to it before the work item is aborted and returned to the pool of work items to be retried.
<ProtocolExecutionSettings>
    <RetrySchedule>
        <RetryDelay>P0DT00H10M00S</RetryDelay>
        <RetryDelay>P0DT00H15M00S</RetryDelay>
    </RetrySchedule>
    <FailuresBeforeAbort>3</FailuresBeforeAbort>
    <MulticastRecipientLimit>10</MulticastRecipientLimit>
    <WorkItemTimeout>P0DT00H05M00S</WorkItemTimeout>
</ProtocolExecutionSettings>

請參閱

參考

Application Definition File Reference

其他資源

指定傳遞通訊協定名稱與欄位
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助