WorkflowClient.SuspendWorkflowInstance Method

Suspends the workflow instance with ID id for the reason specified by reason.

Namespace: Microsoft.Workflow.Activities
Assembly: Microsoft.Workflow.Activities (in microsoft.workflow.activities.dll)

Usage

Syntax

'Declaration
Public Sub SuspendWorkflowInstance ( _
    typeName As String, _
    id As String, _
    reason As String _
)
public void SuspendWorkflowInstance (
    string typeName,
    string id,
    string reason
)
public:
void SuspendWorkflowInstance (
    String^ typeName, 
    String^ id, 
    String^ reason
)
public void SuspendWorkflowInstance (
    String typeName, 
    String id, 
    String reason
)
public function SuspendWorkflowInstance (
    typeName : String, 
    id : String, 
    reason : String
)

Parameters

  • typeName
  • id
  • reason

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

WorkflowClient Class
WorkflowClient Members
Microsoft.Workflow.Activities Namespace