ToolTask.Cancel Method

Cancels the process executing the task by asking it to close nicely, then after a short period, forcing termination.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public virtual void Cancel()

Implements

ICancelableTask.Cancel()

.NET Framework

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft