Edit

Share via


WorkflowInstance.Initialize Method

Definition

Called by the host to initialize the workflow instance.

Overloads

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)

Parameters

deserializedRuntimeState
Object

The run-time state used to execute the workflow.

Applies to

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))

Parameters

workflowArgumentValues
IDictionary<String,Object>

The input parameters to the workflow, keyed by argument name.

workflowExecutionProperties
IList<Handle>

The list of workflow execution properties.

Applies to

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)

Parameters

deserializedRuntimeState
Object

The run-time state used to execute the workflow.

updateMap
DynamicUpdateMap

The update map.

Applies to