ActivityDelegate.Handler 屬性

定義

取得或設定由這個 ActivityDelegate 表示的活動。Gets or sets the activity that is represented by this ActivityDelegate.

public:
 property System::Activities::Activity ^ Handler { System::Activities::Activity ^ get(); void set(System::Activities::Activity ^ value); };
public System.Activities.Activity Handler { get; set; }
member this.Handler : System.Activities.Activity with get, set
Public Property Handler As Activity

屬性值

Activity

由這個 ActivityDelegate 表示的活動。The activity that is represented by this ActivityDelegate.

備註

在執行階段時,這個屬性是唯讀的。This property is read-only at runtime. 如果在執行階段設定值,則會擲回 InvalidOperationExceptionIf the value is set at runtime, an InvalidOperationException is thrown.

適用於