IPendingWork 인터페이스

정의

주의

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
파생
특성

설명

메모

이 재질에서는 사용되지 않는 형식 및 네임스페이스에 대해 설명합니다. 자세한 내용은 Windows Workflow Foundation 4.5 참조하세요.

IPendingWork 이 인터페이스는 워크플로 런타임 엔진 일괄 처리 메커니즘에 참여하려는 서비스에 대해 제공됩니다. 일괄 처리 메커니즘은 지속성 저장소를 사용하는 서비스에 특히 유용합니다. 이러한 경우 서비스에서 사용하는 지속성 저장소와 워크플로 런타임 엔진의 내부 상태 간에 일관성을 유지하는 것이 중요합니다.

서비스에서 제공하는 WorkflowCommitWorkBatchService워크플로 트랜잭션 일괄 처리에 참여하려면 인터페이스에서 정의한 메서드를 IPendingWork 구현해야 합니다. 워크플로 런타임 엔진은 서비스에서 메서드를 Commit 호출하여 일괄 처리를 커밋합니다.

SqlWorkflowPersistenceService 클래스가 IPendingWork 인터페이스를 구현합니다.

메서드

Name Description
Commit(Transaction, ICollection)
사용되지 않음.

지정된 Transaction 개체를 사용하여 작업 항목 목록을 커밋합니다.

Complete(Boolean, ICollection)
사용되지 않음.

트랜잭션이 완료될 때 호출합니다.

MustCommit(ICollection)
사용되지 않음.

작업 일괄 처리의 항목이 즉시 커밋해야 하는지 여부를 어설션할 수 있습니다.

적용 대상