Bagikan melalui


BuildServiceHost Class

Represents a build service host in a team project collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.BuildServiceHost

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
<RequiredClientServiceAttribute("BuildServer")> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public NotInheritable Class BuildServiceHost
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
[RequiredClientServiceAttribute("BuildServer")]
[CallOnDeserializationAttribute("AfterDeserialize")]
public sealed class BuildServiceHost
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
[RequiredClientServiceAttribute(L"BuildServer")]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class BuildServiceHost sealed
[<Sealed>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
[<RequiredClientServiceAttribute("BuildServer")>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type BuildServiceHost =  class end
public final class BuildServiceHost

The BuildServiceHost type exposes the following members.

Constructors

  Name Description
Public method BuildServiceHost

Top

Properties

  Name Description
Public property BaseUrl Gets or sets the base URL.
Public property IsVirtual Gets a value indicating whether this service host is virtual.
Public property MessageQueueUrl Gets the message queue address. This field is read only.
Public property Name Gets or sets the display name.
Public property RequireClientCertificates
Public property Status Gets or sets the online status of the service host.
Public property StatusChangedOn Gets the date and time of the last connection from the service host.
Public property Uri Gets the URI. This field is read only.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Build.Server Namespace