CompensateActivity.TargetActivityName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.