Redigera

Dela via


CompensateActivity.TargetActivityName Property

Definition

Gets or sets the name of the Activity to compensate.

public:
 property System::String ^ TargetActivityName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.PropertyValueProviderTypeConverter))]
public string TargetActivityName { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.PropertyValueProviderTypeConverter))>]
member this.TargetActivityName : string with get, set
Public Property TargetActivityName As String

Property Value

A string that contains the name of the Activity to compensate.

Attributes

Examples

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";
Me.CompensateRefund.TargetActivityName = "OrderScope"

Applies to