다음을 통해 공유


WorkItemTimeout Element (ADF)

Specifies the amount of time a distributor thread can take to complete a work item assigned to it before the job is canceled and the work item is returned to the available work item pool.

구문

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

Element Characteristics

Characteristic Description

Data type

duration.

Default value

15 minutes.

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.

주의

A work item consists of notifications within a single batch that will be delivered through the same delivery channel. Notification Services divides notification batches into work items to take advantage of batch processing and to deliver notifications via multiple delivery channels in parallel.

When a distributor thread is free, it picks up an available work item to format and deliver. The WorkItemTimeout value configures a time limit for formatting and delivery of the notifications in that work item. If the distributor exceeds the timeout, it returns the work item to the pool of available work items so it can be processed by another distributor thread, assuming there is a retry schedule.

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.

The following example shows how to specify that a distributor thread can take two minutes to complete a work item.

<WorkItemTimeout>P0DT00H02M00S</WorkItemTimeout>

참고 항목

참조

RetrySchedule Element (ADF)
Application Definition File Reference

관련 자료

배달 프로토콜 이름 및 필드 지정
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기