Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext 
- fileInfo
Type: Microsoft.TeamFoundation.Server.Core.FileInformation 
- downloadState
Type: Microsoft.TeamFoundation.Server.Core.IDownloadState 
- compressOutput
Type: System.Boolean 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.