IWorkflowInstanceManagement.Cancel(Guid) Method
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.
Cancels the specified workflow instance.
public:
void Cancel(Guid instanceId);
[System.ServiceModel.OperationContract(Name="Cancel")]
public void Cancel (Guid instanceId);
[<System.ServiceModel.OperationContract(Name="Cancel")>]
abstract member Cancel : Guid -> unit
Public Sub Cancel (instanceId As Guid)
- instanceId
- Guid
The GUID identifier of the workflow instance to cancel.
- Attributes
If the instance identified by the instance ID does not exist in-memory, an attempt is made to load the instance from the instance store (if persistence has been enabled). If persistence has not been enabled or the instance was not persisted a fault is returned to the caller. Once the in-memory instance has been loaded or identified, this operation cancels the workflow instance.
Produkt | Versioner |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: