Partilhar via


IGeneratedTask Interface

Definition

An interface implemented by tasks that are generated by ITaskFactory instances.

public interface class IGeneratedTask : Microsoft::Build::Framework::ITask
public interface IGeneratedTask : Microsoft.Build.Framework.ITask
type IGeneratedTask = interface
    interface ITask
Public Interface IGeneratedTask
Implements ITask
Implements

Properties

BuildEngine

This property is set by the build engine to allow a task to call back into it.

(Inherited from ITask)
HostObject

The build engine sets this property if the host IDE has associated a host object with this particular task.

(Inherited from ITask)

Methods

Execute()

This method is called by the build engine to begin task execution. A task uses the return value to indicate whether it was successful. If a task throws an exception out of this method, the engine will automatically assume that the task has failed.

(Inherited from ITask)
GetPropertyValue(TaskPropertyInfo)

Gets the property value.

SetPropertyValue(TaskPropertyInfo, Object)

Sets a value on a property of this task instance.

Applies to