This documentation is archived and is not being maintained.

BuildEnvironment Class

Defines the environment for a Team Foundation Server build host.


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

public sealed class BuildEnvironment

The BuildEnvironment type exposes the following members.

Public propertyStatic memberCurrentGets the current environment for the application domain.
Public propertyCustomAssemblyPathGets the custom assembly path for this host environment.
Public propertyEnvironmentGets this host environment type.
Public propertyLogDirectoryGets the root log directory for the current host environment.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic memberGetEnvironmentGets the environment of the specified object.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSetEnvironmentSets the environment of the specified object to the specified HostEnvironmentOption value.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodStatic memberTryGetEnvironmentChecks whether it is possible to get the environment of the specified object.

Public fieldStatic memberEnvironmentNameIdentifies an attachable property which specifies the hosting environment.

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