IPendingWork 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
작업 일괄 처리에 참여하는 메서드를 제공합니다.
public interface class IPendingWork
public interface IPendingWork
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface IPendingWork
type IPendingWork = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type IPendingWork = interface
Public Interface IPendingWork
- 파생
- 특성
설명
메모
이 재질에서는 사용되지 않는 형식 및 네임스페이스에 대해 설명합니다. 자세한 내용은
IPendingWork 이 인터페이스는 워크플로 런타임 엔진 일괄 처리 메커니즘에 참여하려는 서비스에 대해 제공됩니다. 일괄 처리 메커니즘은 지속성 저장소를 사용하는 서비스에 특히 유용합니다. 이러한 경우 서비스에서 사용하는 지속성 저장소와 워크플로 런타임 엔진의 내부 상태 간에 일관성을 유지하는 것이 중요합니다.
서비스에서 제공하는 WorkflowCommitWorkBatchService워크플로 트랜잭션 일괄 처리에 참여하려면 인터페이스에서 정의한 메서드를 IPendingWork 구현해야 합니다. 워크플로 런타임 엔진은 서비스에서 메서드를 Commit 호출하여 일괄 처리를 커밋합니다.
SqlWorkflowPersistenceService 클래스가 IPendingWork 인터페이스를 구현합니다.
메서드
| Name | Description |
|---|---|
| Commit(Transaction, ICollection) |
사용되지 않음.
지정된 Transaction 개체를 사용하여 작업 항목 목록을 커밋합니다. |
| Complete(Boolean, ICollection) |
사용되지 않음.
트랜잭션이 완료될 때 호출합니다. |
| MustCommit(ICollection) |
사용되지 않음.
작업 일괄 처리의 항목이 즉시 커밋해야 하는지 여부를 어설션할 수 있습니다. |