共用方式為


BuildDropProvider Class

Provides a common interface for copying build drops to remote storage.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.BuildDropProvider

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

Syntax

'Declaration
Public MustInherit Class BuildDropProvider
public abstract class BuildDropProvider
public ref class BuildDropProvider abstract
[<AbstractClass>]
type BuildDropProvider =  class end
public abstract class BuildDropProvider

The BuildDropProvider type exposes the following members.

Properties

  Name Description
Public property ProjectCollection Gets the project collection to which this provider is associated.

Top

Methods

  Name Description
Public method BeginCopyDirectory Begins an asynchronous operation to recursively copy the contents of one directory into another.
Public method Cancel Cancels all active operations.
Public method Combine Combines the provided path segments together.
Public methodStatic member CombinePaths Combines the specified path segments using rules according to the drop provider which is retrieved by examining the first argument.
Public method CopyDirectory(String, String) Recursively copies the contents of one directory into another.
Public method CopyDirectory(String, String, array<String[]) Recursively copies the contents of one directory into another and renames items in the existing list if they already exist on the server
Public methodStatic member Create(IBuildDetail) Creates an appropriate provider implementation based on the drop location specified for the build.
Public methodStatic member Create(TfsTeamProjectCollection, String) Creates an appropriate provider implementation based on the specified path.
Public method EndCopyDirectory Ends an asynchronous directory copy operation.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Exists Checks if the item exists.
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 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 method GetUriForPath Returns a Uri for the specified path.
Public methodStatic member IsFileContainerPath
Public methodStatic member IsServerPath Determines if the specified path is a version control path.
Public methodStatic member IsWindowsPath Determines if the specified path is a windows path.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Protected fieldStatic member MaxLogNumber
Protected fieldStatic member RenamingPattern

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