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 (object deserializedRuntimeState);

Parameters

deserializedRuntimeState
Object

The run-time state used to execute the workflow.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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<string,object> workflowArgumentValues, System.Collections.Generic.IList<System.Activities.Handle> workflowExecutionProperties);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Initialize(Object, DynamicUpdateMap)

Called by the host to initialize the workflow instance with the workflow run-time state and update map.

protected void Initialize (object deserializedRuntimeState, System.Activities.DynamicUpdate.DynamicUpdateMap updateMap);

Parameters

deserializedRuntimeState
Object

The run-time state used to execute the workflow.

updateMap
DynamicUpdateMap

The update map.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1