Export (0) Print
Expand All

ICancelableTask Interface

Interface for tasks which can be cancelled.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public interface class ICancelableTask : ITask

The ICancelableTask type exposes the following members.

  NameDescription
Public propertyBuildEngineGets or sets the build engine associated with the task. (Inherited from ITask.)
Public propertyHostObjectGets or sets any host object that is associated with the task. (Inherited from ITask.)
Top

  NameDescription
Public methodCancelInstructs the task to exit as soon as possible, or to immediately exit if Execute is invoked after this method.
Public methodExecuteExecutes a task. (Inherited from ITask.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft