Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Manages containers and container items.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationFileContainerService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TeamFoundationFileContainerService _
Implements ITeamFoundationService
public sealed class TeamFoundationFileContainerService : ITeamFoundationService
public ref class TeamFoundationFileContainerService sealed : ITeamFoundationService
[<Sealed>]
type TeamFoundationFileContainerService =
class
interface ITeamFoundationService
end
public final class TeamFoundationFileContainerService implements ITeamFoundationService
The TeamFoundationFileContainerService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TeamFoundationFileContainerService |
Top
Methods
Name | Description | |
---|---|---|
![]() |
CopyFiles | Copies the source file (Item1) to the target file (Item2) in the list of Tuples under the following conditions: - Sources all exist - Targets do not exist and are all unique |
![]() |
CopyFolder | Copy the source folder to the target folder under the following conditions: - Source folder exists and contains no pending uploads - Target folder does not exist and is not a child of the source folder |
![]() |
CreateContainer | Creates a new container. |
![]() |
CreateItems | Creates items in a container. If the items already exist with the same types, overwrite them. If the items already exist with different types, throw an exception. |
![]() |
DeleteContainer | Deletes a container. |
![]() |
DeleteItems | Deletes items from a container. If the item is a file, delete that item. If the item is a folder, deletes the folder and its child items. Only deletes listed items. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetContainer | Gets a container. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
QueryContainers(TeamFoundationRequestContext) | Queries all containers. |
![]() |
QueryContainers(TeamFoundationRequestContext, IList<Uri>) | Queries the containers by a list of artifacts. |
![]() |
QueryItems(TeamFoundationRequestContext, Int64, String) | Queries items from a container. If the path points to a file or a string, returns that item. If the path point to a folder, returns the folder and its child items. If the path is not specified, returns all items of the container. |
![]() |
QueryItems(TeamFoundationRequestContext, Int64, String, Boolean) | Queries items from a container. If the path points to a file or a string, returns that item. If the path point to a folder, returns the folder and its child items. If the path is not specified, returns all items of the container. |
![]() |
RenameFiles | Reanmes the source file (Item1) to the target file (Item2) in the list of Tuples under the following conditions: - Sources all exist - Targets do not exist and are all unique |
![]() |
RenameFolder | Renames the source folder to the target folder under the following conditions: - Source folder exists and contains no pending uploads - Target folder does not exist and is not a child of the source folder |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
UploadFile | Uploads a file to the container. |
![]() |
WriteContents |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
ITeamFoundationService.ServiceEnd | |
![]() ![]() |
ITeamFoundationService.ServiceStart |
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.