BuildEnvironment Class

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 methodBuildEnvironmentInitializes a new instance of the BuildEnvironment class.

Public propertyCustomAssemblyPathGets the custom assembly path for this host environment.
Public propertyEnvironmentGets this host environment type.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetEnvironmentGets the environment of the specified object.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (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.

Community Additions

© 2015 Microsoft