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.
Implementation of HostServices that mediates access from the build to the host.
public ref class HostServices
public class HostServices
type HostServices = class
Public Class HostServices
See also HostObject.
Creates a host service.
|GetHostObject(String, String, String)||
Gets any host object applicable to this task name where the task appears within a target and project with the specified names. If no host object exists, returns null.
Retrieves the node affinity for a particular project file.
Updates the host object table when a project is renamed. Old full path may be null.
|RegisterHostObject(String, String, String, ITaskHost)||
Register a host object for a particular task/target pair. Overwrites any existing host object.
|RegisterHostObject(String, String, String, String)||
Register a remote host object for a particular task/target pair. The remote host object require registered in Running Object Table(ROT) already. Overwrites any existing host object.
It's caller's responsibly: To maintain the live cycle of the host object. Register and unregister from ROT. Ensure the host object has appropriate COM interface that can be used in task.
Sets the node affinity for a particular project file.
Unregister the project's host objects, if any and remove any node affinities associated with it.