







Executes code contained within the task.
The following tables list the members exposed by Script.
Public Constructors
Public Properties
Name | Description | |
---|---|---|
![]() |
BuildEngine | Gets or sets the instance of the |
![]() |
Code | The code to compile and execute |
![]() |
HostObject | Gets or sets the host object associated with the task. (inherited from Task) |
![]() |
Imports | The namespaces to import. |
![]() |
Language | The language of the script block (defaults to C#). |
![]() |
Log | Gets an instance of a |
![]() |
MainClass | The name of the main class containing the static entry point. |
![]() |
References | The required references |
![]() |
ReturnValue | The string returned from the custom ScriptMain method. |
Protected Properties
Name | Description | |
---|---|---|
![]() |
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task) |
![]() |
TaskResources | Gets or sets the culture-specific resources associated with the task. (inherited from Task) |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified |
![]() |
Execute | Overidden. Executes the task. |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
GetType | Gets the |
![]() |
ToString | Returns a |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |
See Also
Documentation version 1.0.0.0.