Aracılığıyla paylaş


ToolTask.CallHostObjectToExecute Method

Definition

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.

Applies to