IVsTaskCompletionSource.SetCanceled Method

Definition

Sets the task owned by this source to cancelled state, also cancelling the task.

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

Remarks

This method is safe to access from any thread.

Applies to