Condividi tramite


IVsTask.Cancel Method

Definition

Cancels the task group. An antecedent task and all of its children share the same cancellation token, so cancelling any of the tasks cancels the whole task group.

public:
 void Cancel();
public:
 void Cancel();
void Cancel();
public void Cancel ();
abstract member Cancel : unit -> unit
Public Sub Cancel ()

Remarks

This method is safe to access from any thread.

Applies to