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
- 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
- databaseStream
Type: System.IO.Stream
.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.