RuntimeTransactionHandle Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides access to the run-time transaction in a workflow instance.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Activities.Handle
    System.Activities.RuntimeTransactionHandle

[DataContractAttribute]
public sealed class RuntimeTransactionHandle : Handle, IExecutionProperty, 
	IPropertyRegistrationCallback

NameDescription
System_CAPS_pubmethodRuntimeTransactionHandle()

Initializes a new instance of the RuntimeTransactionHandle class.

System_CAPS_pubmethodRuntimeTransactionHandle(Transaction)

Initializes a new instance of the RuntimeTransactionHandle class using the specified root transaction.

NameDescription
System_CAPS_pubpropertyAbortInstanceOnTransactionFailure

Gets or sets whether the workflow instance should be aborted if the transaction fails.

System_CAPS_pubpropertyExecutionPropertyName

Gets the name to be used by this Handle when added to an activity’s execution properties.(Inherited from Handle.)

System_CAPS_pubpropertyOwner

Gets the ActivityInstance that contains the Variable that contains the Handle.(Inherited from Handle.)

System_CAPS_pubpropertySuppressTransaction

Gets or sets a value that indicates whether this run-time transaction is suppressed.

NameDescription
System_CAPS_pubmethodCompleteTransaction(NativeActivityContext)

Completes the current run-time transaction.

System_CAPS_pubmethodCompleteTransaction(NativeActivityContext, BookmarkCallback)

Completes the current run-time transaction and schedules the bookmark callback when the transaction is complete.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetCurrentTransaction(AsyncCodeActivityContext)

Returns a reference to the current run-time transaction.

System_CAPS_pubmethodGetCurrentTransaction(CodeActivityContext)

Returns a reference to the current run-time transaction.

System_CAPS_pubmethodGetCurrentTransaction(NativeActivityContext)

Returns a reference to the current run-time transaction.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRequestTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext, Object>, Object)

Initiates the creation of a NativeActivityTransactionContext for use with a new transaction.

System_CAPS_pubmethodRequireTransactionContext(NativeActivityContext, Action<NativeActivityTransactionContext, Object>, Object)

Initiates the creation of a NativeActivityTransactionContext for use with an existing transaction.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
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.

Return to top
Show: