WorkflowApplication.EndCancel(IAsyncResult) Method

Definition

Waits for the pending asynchronous cancel operation to complete.

C#
public void EndCancel(IAsyncResult result);

Parameters

result
IAsyncResult

The asynchronous cancel operation.

Remarks

This method determines whether a BeginCancel operation was successful. If called before the cancel operation completes, it blocks until the cancel operation is complete.

This method completes the asynchronous cancel operation using the IAsyncResult asynchronous design pattern. For more information, see Asynchronous Programming Overview.

Applies to

Product Versions
.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