BuildTask Class

Definition

Represents a Task element in a project.

public ref class BuildTask
public class BuildTask
type BuildTask = class
Public Class BuildTask
Inheritance
BuildTask

Properties

Condition

Gets or sets the Condition attribute value of the Task element.

ContinueOnError

Gets or sets the ContinueOnError attribute value of the Task element.

HostObject

Gets or sets the host object associated with the task.

Name

Gets the task name.

Type

Gets the Type of the class that implements the task.

Methods

AddOutputItem(String, String)

Adds an Output element with the specified TaskParameter and ItemName attributes to the Task element.

AddOutputProperty(String, String)

Adds an Output element with the specified TaskParameter and PropertyName attributes to the Task element.

Execute()

Runs the task represented by this BuildTask object.

GetParameterNames()

Gets an array containing the parameter names passed to the task.

GetParameterValue(String)

Gets the value of the specified task parameter.

SetParameterValue(String, String)

Sets the value of the specified task parameter.

SetParameterValue(String, String, Boolean)

Sets the value of the specified task parameter.

Applies to