IWorkflowInstanceManagement.Terminate(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.
public:
void Terminate(Guid instanceId, System::String ^ reason);
[System.ServiceModel.OperationContract(Name="Terminate")]
public void Terminate (Guid instanceId, string reason);
[<System.ServiceModel.OperationContract(Name="Terminate")>]
abstract member Terminate : Guid * string -> unit
Public Sub Terminate (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
This operation combines the functionality of an abort operation followed by a persist operation.
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.