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.
Instructs the task to exit as soon as possible, or to immediately exit if Execute is invoked after this method.
public: virtual void Cancel();
public void Cancel ();
abstract member Cancel : unit -> unit override this.Cancel : unit -> unit
Public Sub Cancel ()