CompensateActivity Constructors
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.
Initializes a new instance of the CompensateActivity class.
Overloads
CompensateActivity() |
Initializes a new instance of the CompensateActivity class. |
CompensateActivity(String) |
Initializes a new instance of the CompensateActivity class using the name of the activity. |
CompensateActivity()
Initializes a new instance of the CompensateActivity class.
public:
CompensateActivity();
public CompensateActivity ();
Public Sub New ()
Examples
The following example demonstrates creating a CompensateActivity object. This example is from the Compensation SDK sample. For more information, see Compensation Sample.
this.CompensateRefund = new System.Workflow.ComponentModel.CompensateActivity();
Me.CompensateRefund = New System.Workflow.ComponentModel.CompensateActivity()
Applies to
CompensateActivity(String)
Initializes a new instance of the CompensateActivity class using the name of the activity.
public:
CompensateActivity(System::String ^ name);
public CompensateActivity (string name);
new System.Workflow.ComponentModel.CompensateActivity : string -> System.Workflow.ComponentModel.CompensateActivity
Public Sub New (name As String)
Parameters
- name
- String
The user-defined name of the activity.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per