TransactedReceiveScope Required For All Receive Activities in the Workflow? RRS feed

  • Question

  • From the MSDN article on the TransactedReceiveScope activity:

    Whenever you use a TransactedReceiveScope it is recommended to place all Receives in the workflow within TransactedReceiveScope activities.

    Why is this recommended? And what are the consequences for not following this recommendation?

    Tuesday, May 24, 2011 11:48 AM


  • The scope between Receive and SendReply is non-persist scope, thus it cannot be transacted. TransactedReceiveScope is designed to put those activies between receive and sendreploy into transaction.

    • Proposed as answer by Andrew_Zhu Monday, May 30, 2011 7:22 AM
    • Marked as answer by Andrew_Zhu Tuesday, May 31, 2011 2:56 AM
    Wednesday, May 25, 2011 1:23 AM