CompensatableTransactionScopeActivity Constructors

Definition

Initializes a new instance of the CompensatableTransactionScopeActivity class.

Overloads

CompensatableTransactionScopeActivity()

Initializes a new instance of the CompensatableTransactionScopeActivity class.

CompensatableTransactionScopeActivity(String)

Initializes a new instance of the CompensatableTransactionScopeActivity class using the name of the activity.

CompensatableTransactionScopeActivity()

Initializes a new instance of the CompensatableTransactionScopeActivity class.

public:
 CompensatableTransactionScopeActivity();
public CompensatableTransactionScopeActivity ();
Public Sub New ()

See also

Applies to

CompensatableTransactionScopeActivity(String)

Initializes a new instance of the CompensatableTransactionScopeActivity class using the name of the activity.

public:
 CompensatableTransactionScopeActivity(System::String ^ name);
public CompensatableTransactionScopeActivity (string name);
new System.Workflow.ComponentModel.CompensatableTransactionScopeActivity : string -> System.Workflow.ComponentModel.CompensatableTransactionScopeActivity
Public Sub New (name As String)

Parameters

name
String

The user-defined name of the activity.

Examples

The following example demonstrates creating a CompensatableTransactionScopeActivity object. This example is from the Compensation SDK sample. For more information, see Compensation Sample.

this.OrderScope = new System.Workflow.ComponentModel.CompensatableTransactionScopeActivity();
Me.OrderScope = New System.Workflow.ComponentModel.CompensatableTransactionScopeActivity()

See also

Applies to