Muokkaa

Jaa


IWorkflowInstanceManagement.Abandon(Guid, String) Method

Definition

Attempts to abandon the specified workflow instance.

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

Parameters

instanceId
Guid

The GUID identifier of the workflow instance to abandon.

reason
String

The reason for abandoning the workflow instance.

Attributes

Remarks

This operation is only valid for a workflow instance that is currently loaded in memory. If the specified workflow instance is not loaded or has completed, this operation is a no-op. This operation is not transaction aware.

Applies to