CompensableActivity.Body 属性

定义

获取或设置在 CompensableActivity 执行时安排的活动。

public:
 property System::Activities::Activity ^ Body { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
[System.Windows.Markup.DependsOn("Variables")]
public System.Activities.Activity Body { get; set; }
[<System.Windows.Markup.DependsOn("Variables")>]
member this.Body : System.Activities.Activity with get, set
Public Property Body As Activity

属性值

CompensableActivity 执行时安排的活动。

属性

注解

此属性在运行时为只读。 如果在运行时设置值,则会引发 InvalidOperationException

适用于