Redaguoti

Bendrinti naudojant


Task base class

Many tasks ultimately inherit from the Task class. This class adds several parameters to the tasks that derive from them. These parameters are listed in this document.

Parameters

The following table describes the parameters of this base class.

Parameter Description
BuildEngine Optional IBuildEngine parameter.

Specifies the build engine interface available to tasks. The build engine automatically sets this parameter to allow tasks to call back into it.
BuildEngine2 Optional IBuildEngine2 parameter.

Specifies the build engine interface available to tasks. The build engine automatically sets this parameter to allow tasks to call back into it.

This is a convenience property so that task authors inheriting from this class do not have to cast the value from IBuildEngine to IBuildEngine2.
BuildEngine3 Optional IBuildEngine3 parameter.

Specifies the build engine interface provided by the host.
HostObject Optional ITaskHost parameter.

Specifies the host object instance (can be null). The build engine sets this property if the host IDE has associated a host object with this particular task.
Log Optional TaskLoggingHelper read-only parameter.

The logging helper object..

See also