Ler em inglês

Partilhar via


IGeneratedTask Interface

Definition

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

C#
public interface IGeneratedTask : Microsoft.Build.Framework.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

Produto Versões
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17