HostServices Class

 

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

Namespace:   Microsoft.Build.Execution
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

System.Object
  Microsoft.Build.Execution.HostServices

public class HostServices

NameDescription
System_CAPS_pubmethodHostServices()

Creates a host service.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetHostObject(String, String, String)

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

System_CAPS_pubmethodGetNodeAffinity(String)

Gets the node affinity for the given project file.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOnRenameProject(String, String)

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

System_CAPS_pubmethodRegisterHostObject(String, String, String, ITaskHost)

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

System_CAPS_pubmethodSetNodeAffinity(String, NodeAffinity)

Sets the node affinity for the given project file.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodUnregisterProject(String)

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

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: