An activity that demarcates a transaction boundary.
Assembly: System.Activities (in System.Activities.dll)
Gets or sets the value that indicates whether the workflow should be aborted if the transaction aborts.
Gets or sets the activity that is scheduled when theexecutes.
Gets the identifier of the cache that is unique within the scope of the workflow definition.(Inherited from Activity.)
Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.(Inherited from Activity.)
Gets an identifier that is unique in the scope of the workflow definition.(Inherited from Activity.)
Gets or sets the implementation version of the activity.(Inherited from NativeActivity.)
Gets or sets the IsolationLevel for this .
Gets or sets the TimeSpan that indicates the timeout period for the transaction used for this .
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Indicates whether the IsolationLevel for this should be serialized.
Indicates whether the Timeout for this should be serialized.
When this activity begins executing, a new Transaction is started if one does not already exist. The transaction commits when the activity and all other participants in the transaction have completed successfully.
The following code sample demonstrates creating a Basic TransactionScope sample.activity. This example is from the
Available since 4.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.