共用方式為


Handle.OnInitialize(HandleInitializationContext) 方法

定義

當初始化包含 Handle 的環境時,將由工作流程執行階段呼叫。

protected:
 virtual void OnInitialize(System::Activities::HandleInitializationContext ^ context);
protected virtual void OnInitialize (System.Activities.HandleInitializationContext context);
abstract member OnInitialize : System.Activities.HandleInitializationContext -> unit
override this.OnInitialize : System.Activities.HandleInitializationContext -> unit
Protected Overridable Sub OnInitialize (context As HandleInitializationContext)

參數

context
HandleInitializationContext

建立控制代碼的環境。

適用於