Share via


TeamFoundationFileCacheService.RetrieveFile Method

Retrieve a file from the cache and send it to the client. If the file is not in cache, get it from the database and also populate the cache.

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

Syntax

'Declaration
Public Sub RetrieveFile ( _
    requestContext As TeamFoundationRequestContext, _
    fileInfo As FileInformation, _
    downloadState As IDownloadState, _
    compressOutput As Boolean _
)
public void RetrieveFile(
    TeamFoundationRequestContext requestContext,
    FileInformation fileInfo,
    IDownloadState downloadState,
    bool compressOutput
)
public:
void RetrieveFile(
    TeamFoundationRequestContext^ requestContext, 
    FileInformation^ fileInfo, 
    IDownloadState^ downloadState, 
    bool compressOutput
)
member RetrieveFile : 
        requestContext:TeamFoundationRequestContext * 
        fileInfo:FileInformation * 
        downloadState:IDownloadState * 
        compressOutput:bool -> unit
public function RetrieveFile(
    requestContext : TeamFoundationRequestContext, 
    fileInfo : FileInformation, 
    downloadState : IDownloadState, 
    compressOutput : boolean
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationFileCacheService Class

Microsoft.TeamFoundation.Server.Core Namespace