ICancelableTask Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Interface for tasks which can be cancelled.

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

public interface ICancelableTask : ITask

NameDescription
System_CAPS_pubpropertyBuildEngine

Gets or sets the build engine associated with the task.(Inherited from ITask.)

System_CAPS_pubpropertyHostObject

Gets or sets any host object that is associated with the task.(Inherited from ITask.)

NameDescription
System_CAPS_pubmethodCancel()

Instructs the task to exit as soon as possible, or to immediately exit if Execute is invoked after this method.

System_CAPS_pubmethodExecute()

Executes a task.(Inherited from ITask.)

.NET Framework
Available since 4.0
Return to top
Show: