IVsTaskCompletionSource.SetCanceled Method
Definition
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.
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.