BuildEnvironment Class

Defines the environment for a Team Foundation Server build host.

Inheritance Hierarchy


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


Public NotInheritable Class BuildEnvironment
public sealed class BuildEnvironment
public ref class BuildEnvironment sealed
type BuildEnvironment =  class end
public final class BuildEnvironment

The BuildEnvironment type exposes the following members.


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



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



  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.



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


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


Microsoft.TeamFoundation.Build.Workflow Namespace