Modifica

Condividi tramite


IWorkflowInstanceManagement.TransactedSuspend(Guid, String) Method

Definition

Suspends the specified workflow instance within a transaction.

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

Parameters

instanceId
Guid

The GUID identifier of the workflow instance to suspend.

reason
String

The reason the workflow instance is suspended.

Attributes

Remarks

The suspend process temporarily halts a workflow instance.

Applies to