Export (0) Print
Expand All

ToolTask Methods

The ToolTask type exposes the following members.

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