Condividi tramite


BuildEnvironment Class

Defines the environment for a Team Foundation Server build host.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Workflow.BuildEnvironment

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

Syntax

'Dichiarazione
Public NotInheritable Class BuildEnvironment
public sealed class BuildEnvironment
public ref class BuildEnvironment sealed
[<Sealed>]
type BuildEnvironment =  class end
public final class BuildEnvironment

The BuildEnvironment type exposes the following members.

Constructors

  Name Description
Public method BuildEnvironment Initializes a new instance of the BuildEnvironment class.

Top

Properties

  Name Description
Public property CustomAssemblyPath Gets the custom assembly path for this host environment.
Public property Environment Gets this host environment type.

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 methodStatic member GetEnvironment Gets the environment of the specified 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 methodStatic member SetEnvironment Sets the environment of the specified object to the specified HostEnvironmentOption value.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodStatic member TryGetEnvironment Checks whether it is possible to get the environment of the specified object.

Top

Fields

  Name Description
Public fieldStatic member EnvironmentName Identifies an attachable property which specifies the hosting environment.

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.Workflow Namespace