Export (0) Print
Expand All

TeamFoundationFileService Class

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationFileService

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

[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
public class TeamFoundationFileService : ITeamFoundationService, 
	IDisposable

The TeamFoundationFileService type exposes the following members.

  NameDescription
Public methodComputePendingDelta
Public methodComputePendingDeltasComputes all pending deltas
Public methodCopyStreamToTempFile
Public methodDeleteFileDeletes the given file (Marks it as unaccessible).
Public methodDeleteFiles
Public methodDeleteNamedFiles
Public methodDoCleanupCleans up orphaned blobs out of the file service
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 memberFromMimeType
Public methodGetFileStatisticsRetrieves File Statistics about the given file id - used mostly for testing
Public methodGetHashCodeServes as the default hash function. (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 methodQueryNamedFiles(TeamFoundationRequestContext, OwnerId)
Public methodQueryNamedFiles(TeamFoundationRequestContext, OwnerId, String)
Public methodRenameFileRename the given file
Public methodRetrieveFile(TeamFoundationRequestContext, Int32, CompressionType)Retrieves a file from the Blob Store
Public methodRetrieveFile(TeamFoundationRequestContext, Int32, Boolean, Byte[], Int64, CompressionType)Retrieves a file from the blob store
Public methodRetrieveNamedFile
Public methodServiceEndITeamFoundationService.ServiceEnd
Public methodServiceStartITeamFoundationService.ServiceStart
Public methodStatic memberToMimeType
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetFileIdReturns the file id of the file with the given name
Public methodUploadFile(TeamFoundationRequestContext, Byte[])Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Byte[], Byte[])Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Stream, OwnerId)Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Stream, OwnerId, String)Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Stream, Byte[], OwnerId)Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Byte[], Byte[], Int64, CompressionType)Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Stream, Byte[], Int64, CompressionType, OwnerId, String, Int32)Uploads the given file to the Blob Store
Public methodUploadFile(TeamFoundationRequestContext, Int32, Byte[], Int64, Int64, CompressionType, Int64, Byte[], Int32, OwnerId, String, Int32)
Public methodUploadFile(TeamFoundationRequestContext, Int32, Stream, Byte[], Int64, Int64, Int64, CompressionType, OwnerId, String, Int32, Boolean)Uploads the given file to the Blob Store
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeDispose - do not call directly!
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:
© 2014 Microsoft