Поделиться через


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

'Declaration
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

Top

Properties

  Name Description
Public propertyStatic member Current Gets the current environment for the application domain.
Public property CustomAssemblyPath Gets the custom assembly path for this host environment.
Public property Environment Gets this host environment type.
Public property LogDirectory Gets the root log directory for the current host environment.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic member GetEnvironment Gets the environment of the specified object.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (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