Export (0) Print
Expand All

CompensateActivity.TargetActivityName Property

Gets or sets the name of the Activity to compensate.

Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public string TargetActivityName { get; set; }

Property Value

Type: System.String
A string that contains the name of the Activity to compensate.

The following example demonstrates accessing the TargetActivityName property. This sample is from the Compensation SDK sample. For more information, see Compensation Sample.

this.CompensateRefund.TargetActivityName = "OrderScope";

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft