IPendingWork.Complete(Boolean, ICollection) 메서드

정의

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

public:
 void Complete(bool succeeded, System::Collections::ICollection ^ items);
public void Complete(bool succeeded, System.Collections.ICollection items);
abstract member Complete : bool * System.Collections.ICollection -> unit
Public Sub Complete (succeeded As Boolean, items As ICollection)

매개 변수

succeeded
Boolean

true트랜잭션이 성공하면 이고, 그렇지 않으면 . false

items
ICollection

ICollection 작업 항목입니다.

설명

succeeded경우 true 트랜잭션이 성공했으며 작업 일괄 처리에서 사용하는 모든 리소스가 해제될 수 있습니다. 이 succeeded경우 false 트랜잭션이 실패했습니다. 구현에 따라 트랜잭션이 실패할 때 작업 일괄 처리의 작업에 대해 적절한 롤백을 수행할 수 있습니다.

적용 대상