BuildTask BuildTask BuildTask BuildTask Class

Definition

Represents a Task element in a project.

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

Properties

Condition Condition Condition Condition

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

ContinueOnError ContinueOnError ContinueOnError ContinueOnError

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

HostObject HostObject HostObject HostObject

Gets or sets the host object associated with the task.

Name Name Name Name

Gets the task name.

Type Type Type Type

Gets the Type of the class that implements the task.

Methods

AddOutputItem(String, String) AddOutputItem(String, String) AddOutputItem(String, String) AddOutputItem(String, String)

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

AddOutputProperty(String, String) AddOutputProperty(String, String) AddOutputProperty(String, String) AddOutputProperty(String, String)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute() Execute() Execute() Execute()

Runs the task represented by this BuildTask object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetParameterNames() GetParameterNames() GetParameterNames() GetParameterNames()

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

GetParameterValue(String) GetParameterValue(String) GetParameterValue(String) GetParameterValue(String)

Gets the value of the specified task parameter.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetParameterValue(String, String) SetParameterValue(String, String) SetParameterValue(String, String) SetParameterValue(String, String)

Sets the value of the specified task parameter.

SetParameterValue(String, String, Boolean) SetParameterValue(String, String, Boolean) SetParameterValue(String, String, Boolean) SetParameterValue(String, String, Boolean)

Sets the value of the specified task parameter.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to