Share via


TeamFoundationFileCacheService.RetrieveFileFromCache Method

Retrieve a file from the cache and send it to client.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
True if the file was retrieved from cache.

.NET Framework Security

See Also

Reference

TeamFoundationFileCacheService Class

Microsoft.TeamFoundation.Server.Core Namespace