TeamFoundationFileService Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationResourceManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public Class TeamFoundationFileService _
    Implements ITeamFoundationService, IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public class TeamFoundationFileService : ITeamFoundationService, 
    IDisposable
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamFoundationFileService : ITeamFoundationService, 
    IDisposable
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
type TeamFoundationFileService =  
    class 
        interface ITeamFoundationService 
        interface IDisposable 
    end
public class TeamFoundationFileService implements ITeamFoundationService, IDisposable

The TeamFoundationFileService type exposes the following members.

Constructors

Name Description
Public method TeamFoundationFileService

Top

Methods

Name Description
Public method ComputePendingDelta
Public method ComputePendingDeltas Computes all pending deltas
Public method CopyStreamToTempFile
Public method DeleteFile Deletes the given file (Marks it as unaccessible).
Public method DeleteFiles
Public method DeleteNamedFiles
Public method DoCleanup
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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 methodStatic member FromMimeType
Public method GetFileStatistics Retrieves File Statistics about the given file id - used mostly for testing
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryNamedFiles(TeamFoundationRequestContext, OwnerId)
Public method QueryNamedFiles(TeamFoundationRequestContext, OwnerId, String)
Public method RenameFile
Public method RetrieveFile(TeamFoundationRequestContext, Int32, CompressionType%) Retrieves a file from the Blob Store
Public method RetrieveFile(TeamFoundationRequestContext, Int32, Boolean, array<Byte[]%, Int64%, CompressionType%) Retrieves a file from the blob store
Public method RetrieveNamedFile
Public method ServiceEnd ITeamFoundationService.ServiceEnd
Public method ServiceStart ITeamFoundationService.ServiceStart
Public methodStatic member ToMimeType
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetFileId
Public method UploadFile(TeamFoundationRequestContext, array<Byte[]) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, array<Byte[], array<Byte[]) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Stream, OwnerId) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Stream, OwnerId, String) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Stream, array<Byte[], OwnerId) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, array<Byte[], array<Byte[], Int64, CompressionType) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Stream, array<Byte[], Int64, CompressionType, OwnerId, String, Int32) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Int32%, Stream, array<Byte[], Int64, Int64, Int64, CompressionType, OwnerId, String, Int32) Uploads the given file to the Blob Store
Public method UploadFile(TeamFoundationRequestContext, Int32%, array<Byte[], Int64, Int64, CompressionType, Int64, array<Byte[], Int32, OwnerId, String, Int32)

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Dispose - do not call directly!

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.Framework.Server Namespace