IStartWorkflow.StartWorkflow Method (Type, Dictionary<String, Object>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Starts the workflow of designated Type providing the running instance with a Dictionary that contains runtime parameters.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

Guid StartWorkflow(
	Type workflowType,
	Dictionary<string, object> namedArgumentValues
)

Parameters

workflowType
Type: System.Type

The Type of the workflow.

namedArgumentValues
Type: System.Collections.Generic.Dictionary<String, Object>

A Dictionary that contains runtime parameters for the workflow.

Return Value

Type: System.Guid

The instance ID of the workflow that is started.

.NET Framework
Available since 3.0
Return to top
Show: