ToolTask Methods
.NET Framework 4
The ToolTask type exposes the following members.
| Name | Description | |
|---|---|---|
|
CallHostObjectToExecute | Calls the host object to perform the work of the task. |
|
Cancel | Cancels the process executing the task by asking it to close nicely, then after a short period, forcing termination. |
|
DeleteTempFile | Deletes the specified temporary file. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Execute | Runs the exectuable file with the specified task parameters. (Overrides Task.Execute().) |
|
ExecuteTool | Creates a temporoary response (.rsp) file and runs the executable file. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GenerateCommandLineCommands | Returns a string value containing the command line arguments to pass directly to the executable file. |
|
GenerateFullPathToTool | Returns the fully qualified path to the executable file. |
|
GenerateResponseFileCommands | Returns a string value containing the command line arguments to add to the response (.rsp) file before running the executable file. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetProcessStartInfo | Initializes the information required to spawn the process executing the tool. |
|
GetResponseFileSwitch | Returns the command line switch used by the executable file to specifiy a response (.rsp) file. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetWorkingDirectory | Returns the directory in which to run the executable file. |
|
HandleTaskExecutionErrors | Handles execution errors raised by the executable file. |
|
InitializeHostObject | Initializes the host object of the task. |
|
LogEventsFromTextOutput | Parses a single line of text to identify any errors or warnings in canonical format. |
|
LogPathToTool | Logs the tool name and path to all registered loggers. |
|
LogToolCommand | Logs the starting point of the run to all registered loggers. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SkipTaskExecution | Indicates whether task execution should be skipped. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
ValidateParameters | Indicates whether all task paratmeters are valid. |