Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TargetActivityName Property
Collapse the table of content
Expand the table of content

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
Show:
© 2015 Microsoft