CompensationHandlerActivity 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 CompensationHandlerActivity class.
Overloads
CompensationHandlerActivity() |
Initializes a new instance of the CompensationHandlerActivity class. |
CompensationHandlerActivity(String) |
Initializes a new instance of the CompensationHandlerActivity class using the name of the activity. |
CompensationHandlerActivity()
Initializes a new instance of the CompensationHandlerActivity class.
public:
CompensationHandlerActivity();
public CompensationHandlerActivity ();
Public Sub New ()
Examples
The following example demonstrates creating a CompensationHandlerActivity. This example is from the Compensation SDK sample. For more information, see Compensation Sample.
this.CompensateOrder = new System.Workflow.ComponentModel.CompensationHandlerActivity();
Me.CompensateOrder = New System.Workflow.ComponentModel.CompensationHandlerActivity()
Applies to
CompensationHandlerActivity(String)
Initializes a new instance of the CompensationHandlerActivity class using the name of the activity.
public:
CompensationHandlerActivity(System::String ^ name);
public CompensationHandlerActivity (string name);
new System.Workflow.ComponentModel.CompensationHandlerActivity : string -> System.Workflow.ComponentModel.CompensationHandlerActivity
Public Sub New (name As String)
Parameters
- name
- String
A string that contains the name of this instance.
Exceptions
activityName
is a null reference (Nothing
in Visual Basic).
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈