共用方式為


BuildServerExtensions Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Client.BuildServerExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class BuildServerExtensions
public static class BuildServerExtensions
[ExtensionAttribute]
public ref class BuildServerExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type BuildServerExtensions =  class end
public final class BuildServerExtensions

The BuildServerExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateInitialSourceProvider This extension method should no longer be used. It is here for backwards compatibility only.
Public methodStatic member CreateSourceProvider
Public methodStatic member GetDefaultSourceProvider This extension method for IBuildDefinition retuns the first source provider for the definition. If no source provider is listed, an empty TFVC provider is returned.
Public methodStatic member HasFlag(BuildReason, BuildReason)
Public methodStatic member HasFlag(DefinitionTriggerType, DefinitionTriggerType)
Public methodStatic member SetSourceProvider This extension method should no longer be used. It is here for backwards compatibility only.

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