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
- 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
Return Value
Type: System.Boolean
True if the file was retrieved from cache.
.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.