Share via


BuildMachineStatusReport Class

Represents the status of a VM role instance used for Hosted builds

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Hosted.Server.BuildMachineStatusReport

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

Syntax

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.ProductInternal)> _
<CallOnSerializationAttribute("BeforeSerialize")> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
Public Class BuildMachineStatusReport
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.ProductInternal)]
[CallOnSerializationAttribute("BeforeSerialize")]
[CallOnDeserializationAttribute("AfterDeserialize")]
public class BuildMachineStatusReport
[ClassVisibilityAttribute(ClientVisibility::Public, ClientVisibility::ProductInternal)]
[CallOnSerializationAttribute(L"BeforeSerialize")]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
public ref class BuildMachineStatusReport
[<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.ProductInternal)>]
[<CallOnSerializationAttribute("BeforeSerialize")>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
type BuildMachineStatusReport =  class end
public class BuildMachineStatusReport

The BuildMachineStatusReport type exposes the following members.

Constructors

  Name Description
Public method BuildMachineStatusReport

Top

Properties

  Name Description
Public property AccessToken
Public property ComputerName Name of the computer
Public property EndTime End of the reporting period
Public property IdleDuration Amount of time the computer has spent idle (waiting for requests) during the reporting period, specified in microseconds.
Public property MachinePoolName Name of the computer pool the request was queued against
Public property RoleInstanceName Name of the computer
Public property StartTime Beginning of the reporting period
Public property UpDuration Amount of time the computer has been up during the reporting period, specified in microseconds.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.Hosted.Server Namespace