共用方式為


Csc.CallHostObjectToExecute Method

Definition

Compiles the project through the host object.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 override bool CallHostObjectToExecute();
protected override bool CallHostObjectToExecute ();
override this.CallHostObjectToExecute : unit -> bool
Protected Overrides Function CallHostObjectToExecute () As Boolean

Returns

true if compilation succeeded; otherwise, false.

Remarks

This method will get called during execution if a host object was passed to the Csc task.

Applies to