Rank: Member
Joined: 10/17/2006(UTC) Posts: 66
|
I notice that implementations of the OrderTask (used in workflow) have a rollback method with this signature: Code: Public Overloads Overrides Function Rollback( byval context as OrderTaskContext)
I implemented an ordertask derived class that supports this method. I have a few questions: 1) Under what conditions is the Rollback() method supposed to be called? It seems like it is ALWAYS called. 2) What is the point of this method? Am I supposed to undo whatever was done in the Execute() function? 3) What happens if there is a rollback error? Should I throw and exception? -- jorge.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.