This documentation is archived and is not being maintained.

TeamFoundationFileContainerService Class

Manages containers and container items.

System::Object
  Microsoft.TeamFoundation.Framework.Server::TeamFoundationFileContainerService

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

public ref class TeamFoundationFileContainerService sealed : ITeamFoundationService

The TeamFoundationFileContainerService type exposes the following members.

  NameDescription
Public methodCopyFilesCopies 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
Public methodCopyFolderCopy 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
Public methodCreateContainerCreates a new container.
Public methodCreateItemsCreates 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.
Public methodDeleteContainerDeletes a container.
Public methodDeleteItemsDeletes 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.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetContainerGets a container.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodQueryContainers(TeamFoundationRequestContext)Queries all containers.
Public methodQueryContainers(TeamFoundationRequestContext, IList<Uri>)Queries the containers by a list of artifacts.
Public methodQueryItems(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.
Public methodQueryItems(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.
Public methodRenameFilesReanmes 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
Public methodRenameFolderRenames 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
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUploadFileUploads a file to the container.
Public methodWriteContents
Top

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