WorkflowInstance.Initialize Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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
.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 |
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.
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 |
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
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: