WorkflowInstanceManager.StartWorkflow 方法
啟動指定的工作流程執行個體。
命名空間: Microsoft.Workflow.Client
組件: Microsoft.Workflow.Client (在 Microsoft.Workflow.Client.dll 中)
語法
'宣告
Public Function StartWorkflow ( _
workflowName As String, _
startInfo As WorkflowStartParameters, _
ParamArray activationMetadata As String() _
) As String
'用途
Dim instance As WorkflowInstanceManager
Dim workflowName As String
Dim startInfo As WorkflowStartParameters
Dim activationMetadata As String()
Dim returnValue As String
returnValue = instance.StartWorkflow(workflowName, _
startInfo, activationMetadata)
public string StartWorkflow(
string workflowName,
WorkflowStartParameters startInfo,
params string[] activationMetadata
)
public:
String^ StartWorkflow(
String^ workflowName,
WorkflowStartParameters^ startInfo,
... array<String^>^ activationMetadata
)
member StartWorkflow :
workflowName:string *
startInfo:WorkflowStartParameters *
activationMetadata:string[] -> string
public function StartWorkflow(
workflowName : String,
startInfo : WorkflowStartParameters,
... activationMetadata : String[]
) : String
參數
- workflowName
型別:System.String
執行個體所屬之工作流程的名稱。
- startInfo
型別:Microsoft.Workflow.Client.WorkflowStartParameters
WorkflowStartParameters 的資訊。
- activationMetadata
型別:array<System.String[]
工作流程執行個體的啟用中繼資料篩選條件。
傳回值
型別:System.String
此作業的工作流程執行個體結果。