Export (0) Print
Expand All

ToolTask Methods

The ToolTask type exposes the following members.

  NameDescription
Protected method CallHostObjectToExecute Calls the host object to perform the work of the task.
Protected method DeleteTempFile Deletes the specified temporary file.
Public method Equals 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 a hash function for a particular type. (Inherited from Object.)
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 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

Community Additions

ADD
Show:
© 2014 Microsoft