ToolTask.CallHostObjectToExecute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
We expect the tasks to override this method, if they support host objects. The implementation should call into the host object to perform the real work of the task. For example, for compiler tasks like Csc and Vbc, this method would call Compile() on the host object.
protected:
virtual bool CallHostObjectToExecute();
protected virtual bool CallHostObjectToExecute ();
abstract member CallHostObjectToExecute : unit -> bool
override this.CallHostObjectToExecute : unit -> bool
Protected Overridable Function CallHostObjectToExecute () As Boolean
Returns
The return value indicates success (true) or failure (false) if the host object was actually called to do the work.