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

定义

启动指定的 Type 的工作流,并提供带有包含运行时参数的 Dictionary 的运行中实例。

public:
 Guid StartWorkflow(Type ^ workflowType, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ namedArgumentValues);
public Guid StartWorkflow (Type workflowType, System.Collections.Generic.Dictionary<string,object> namedArgumentValues);
abstract member StartWorkflow : Type * System.Collections.Generic.Dictionary<string, obj> -> Guid
Public Function StartWorkflow (workflowType As Type, namedArgumentValues As Dictionary(Of String, Object)) As Guid

参数

workflowType
Type

工作流的 Type

namedArgumentValues
Dictionary<String,Object>

包含工作流的运行时参数的 Dictionary

返回

Guid

已启动工作流的实例 ID。

适用于