HostServices Class
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.
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
- Inheritance
-
HostServices
See also HostObject.
Host |
Creates a host service. |
Get |
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. |
Get |
Retrieves the node affinity for a particular project file. |
On |
Updates the host object table when a project is renamed. Old full path may be null. |
Register |
Register a host object for a particular task/target pair. Overwrites any existing host object. |
Register |
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. |
Set |
Sets the node affinity for a particular project file. |
Unregister |
Unregister the project's host objects, if any and remove any node affinities associated with it. |