Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 3.0
Class Library
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
TransactionScopeActivity Class

Namespace: System.Workflow.ComponentModel
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

Visual Basic (Declaration)
Public NotInheritable Class TransactionScopeActivity
    Inherits CompositeActivity
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
Visual Basic (Usage)
Dim instance As TransactionScopeActivity
C#
public sealed class TransactionScopeActivity : CompositeActivity, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
C++
public ref class TransactionScopeActivity sealed : public CompositeActivity, IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>
J#
public final class TransactionScopeActivity extends CompositeActivity implements IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
JScript
public final class TransactionScopeActivity extends CompositeActivity implements IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
XAML
                    Not applicable.
                  
System.Object
   System.Workflow.ComponentModel.DependencyObject
     System.Workflow.ComponentModel.Activity
       System.Workflow.ComponentModel.CompositeActivity
        System.Workflow.ComponentModel.TransactionScopeActivity
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
commit is performed after transaction in parallel to the next sequence activity      nagual   |   Edit   |  

have a look at http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=264511

The transactionscopeactivity is commiting !after! the finish of the activity, which means, that the workflow is already doing the next activity, so if you want to use the commited information in the next activity, it might not already be available.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker