IWorkflowInstanceManagement.TransactedTerminate(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.
Terminates the specified workflow instance within a transaction.
public:
void TransactedTerminate(Guid instanceId, System::String ^ reason);
[System.ServiceModel.OperationContract(Name="TransactedTerminate")]
[System.ServiceModel.TransactionFlow(System.ServiceModel.TransactionFlowOption.Allowed)]
public void TransactedTerminate (Guid instanceId, string reason);
[<System.ServiceModel.OperationContract(Name="TransactedTerminate")>]
[<System.ServiceModel.TransactionFlow(System.ServiceModel.TransactionFlowOption.Allowed)>]
abstract member TransactedTerminate : Guid * string -> unit
Public Sub TransactedTerminate (instanceId As Guid, reason As String)
Parameters
- instanceId
- Guid
The GUID identifier of the workflow instance to terminate.
- reason
- String
The reason to terminate the workflow instance.
- Attributes
Remarks
The terminate process brings a workflow instance to an end.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.