Redigera

Dela via


WorkflowApplication.EndCancel(IAsyncResult) Method

Definition

Waits for the pending asynchronous cancel operation to complete.

public:
 void EndCancel(IAsyncResult ^ result);
public void EndCancel (IAsyncResult result);
member this.EndCancel : IAsyncResult -> unit
Public Sub EndCancel (result As IAsyncResult)

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