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.

適用於