IWorkflowInstanceManagement.Suspend(Guid, String) Method

Definition

Suspends the specified workflow instance.

public:
 void Suspend(Guid instanceId, System::String ^ reason);
[System.ServiceModel.OperationContract(Name="Suspend")]
public void Suspend (Guid instanceId, string reason);
[<System.ServiceModel.OperationContract(Name="Suspend")>]
abstract member Suspend : Guid * string -> unit
Public Sub Suspend (instanceId As Guid, reason As String)

Parameters

instanceId
Guid

The workflow instance to suspend.

reason
String

The reason for suspending the workflow instance.

Attributes

Remarks

The suspend process temporarily halts a workflow instance.

Applies to