Export (0) Print
Expand All

ManualWorkflowSchedulerService.RunWorkflow Method

Runs the specified workflow instance.

Namespace: System.Workflow.Runtime.Hosting
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)

public bool RunWorkflow (
	Guid workflowInstanceId
)
public boolean RunWorkflow (
	Guid workflowInstanceId
)
public function RunWorkflow (
	workflowInstanceId : Guid
) : boolean
Not applicable.

Parameters

workflowInstanceId

The Guid for the workflow instance to run.

Return Value

Returns true if the workflow starts running; otherwise, false.

Exception typeCondition

ArgumentException

workflowInstanceId is an empty GUID.

This is a synchronous call that uses the current thread to run the workflow. It does not return until the workflow idles, suspends, completes, terminates, or aborts.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft