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

将在其中创建句柄的环境。

适用于