WorkflowInstance.Initialize 方法

定义

由宿主调用,用于初始化工作流实例。Called by the host to initialize the workflow instance.

重载

Initialize(Object)

由宿主调用,用于使用工作流运行时状态初始化工作流实例。Called by the host to initialize the workflow instance with the workflow run-time state.

Initialize(IDictionary<String,Object>, IList<Handle>)

由主机调用,用于使用自变量值和执行属性初始化工作流实例。Called by the host to initialize the workflow instance with the argument values and execution properties.

Initialize(Object, DynamicUpdateMap)

由宿主调用,用于使用工作流运行时状态和更新映射初始化工作流实例。Called by the host to initialize the workflow instance with the workflow run-time state and update map.

Initialize(Object)

由宿主调用,用于使用工作流运行时状态初始化工作流实例。Called by the host to initialize the workflow instance with the workflow run-time state.

protected:
 void Initialize(System::Object ^ deserializedRuntimeState);
protected void Initialize (object deserializedRuntimeState);
member this.Initialize : obj -> unit
Protected Sub Initialize (deserializedRuntimeState As Object)

参数

deserializedRuntimeState
Object

用于执行工作流的运行时状态。The run-time state used to execute the workflow.

适用于

Initialize(IDictionary<String,Object>, IList<Handle>)

由主机调用,用于使用自变量值和执行属性初始化工作流实例。Called by the host to initialize the workflow instance with the argument values and execution properties.

protected:
 void Initialize(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ workflowArgumentValues, System::Collections::Generic::IList<System::Activities::Handle ^> ^ workflowExecutionProperties);
protected void Initialize (System.Collections.Generic.IDictionary<string,object> workflowArgumentValues, System.Collections.Generic.IList<System.Activities.Handle> workflowExecutionProperties);
member this.Initialize : System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IList<System.Activities.Handle> -> unit
Protected Sub Initialize (workflowArgumentValues As IDictionary(Of String, Object), workflowExecutionProperties As IList(Of Handle))

参数

workflowArgumentValues
IDictionary<String,Object>

工作流的输入参数,由自变量名进行键控。The input parameters to the workflow, keyed by argument name.

workflowExecutionProperties
IList<Handle>

工作流执行属性的列表。The list of workflow execution properties.

适用于

Initialize(Object, DynamicUpdateMap)

由宿主调用,用于使用工作流运行时状态和更新映射初始化工作流实例。Called by the host to initialize the workflow instance with the workflow run-time state and update map.

protected:
 void Initialize(System::Object ^ deserializedRuntimeState, System::Activities::DynamicUpdate::DynamicUpdateMap ^ updateMap);
protected void Initialize (object deserializedRuntimeState, System.Activities.DynamicUpdate.DynamicUpdateMap updateMap);
member this.Initialize : obj * System.Activities.DynamicUpdate.DynamicUpdateMap -> unit
Protected Sub Initialize (deserializedRuntimeState As Object, updateMap As DynamicUpdateMap)

参数

deserializedRuntimeState
Object

用于执行工作流的运行时状态。The run-time state used to execute the workflow.

updateMap
DynamicUpdateMap

更新映射。The update map.

适用于