IWorkflowInstanceManagement.Abandon(Guid, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.