ToolTask.Cancel 方法

定义

通过以下方式取消正在执行任务的进程:请求该进程正常关闭,在经过短时间的等待之后,强制终止该进程。Cancels the process executing the task by asking it to close nicely, then after a short period, forcing termination.

public:
 virtual void Cancel();
public virtual void Cancel ();
abstract member Cancel : unit -> unit
override this.Cancel : unit -> unit
Public Overridable Sub Cancel ()

实现

适用于