HostServices HostServices HostServices HostServices Class

Definition

Implementation of a host service that mediates access from the build to the host.

public ref class HostServices
public class HostServices
type HostServices = class
Public Class HostServices
Inheritance
HostServicesHostServicesHostServicesHostServices

Remarks

See also HostObject.

Constructors

HostServices() HostServices() HostServices() HostServices()

Creates a host service.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHostObject(String, String, String) GetHostObject(String, String, String) GetHostObject(String, String, String) GetHostObject(String, String, String)

Gets the host service for the given task where the task appears within a target and project with the given names.

GetNodeAffinity(String) GetNodeAffinity(String) GetNodeAffinity(String) GetNodeAffinity(String)

Gets the node affinity for the given project file.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnRenameProject(String, String) OnRenameProject(String, String) OnRenameProject(String, String) OnRenameProject(String, String)

Updates the host services table when a project is named or renamed.

RegisterHostObject(String, String, String, ITaskHost) RegisterHostObject(String, String, String, ITaskHost) RegisterHostObject(String, String, String, ITaskHost) RegisterHostObject(String, String, String, ITaskHost)

Register a host service for the given task/target pair.

SetNodeAffinity(String, NodeAffinity) SetNodeAffinity(String, NodeAffinity) SetNodeAffinity(String, NodeAffinity) SetNodeAffinity(String, NodeAffinity)

Sets the node affinity for the given project file.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
UnregisterProject(String) UnregisterProject(String) UnregisterProject(String) UnregisterProject(String)

Unregister the project's host objects, if any and remove any node affinities associated with it.

Applies to