Share via


FileCacheService.RetrieveFileFromDatabase Method

Retrieves a file from database, save it in 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 Sub RetrieveFileFromDatabase ( _
    requestContext As TeamFoundationRequestContext, _
    fileInfo As FileInformation, _
    downloadState As IDownloadState, _
    compressOutput As Boolean, _
    databaseStream As Stream _
)
public void RetrieveFileFromDatabase(
    TeamFoundationRequestContext requestContext,
    FileInformation fileInfo,
    IDownloadState downloadState,
    bool compressOutput,
    Stream databaseStream
)
public:
void RetrieveFileFromDatabase(
    TeamFoundationRequestContext^ requestContext, 
    FileInformation^ fileInfo, 
    IDownloadState^ downloadState, 
    bool compressOutput, 
    Stream^ databaseStream
)
member RetrieveFileFromDatabase : 
        requestContext:TeamFoundationRequestContext * 
        fileInfo:FileInformation * 
        downloadState:IDownloadState * 
        compressOutput:bool * 
        databaseStream:Stream -> unit
public function RetrieveFileFromDatabase(
    requestContext : TeamFoundationRequestContext, 
    fileInfo : FileInformation, 
    downloadState : IDownloadState, 
    compressOutput : boolean, 
    databaseStream : Stream
)

Parameters

.NET Framework Security

See Also

Reference

FileCacheService Class

Microsoft.TeamFoundation.Server.Core Namespace