Compartilhar via


Método FileCacheService.RetrieveFileFromCache

Recupera um arquivo do cache e enviá-lo para o cliente.

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

Sintaxe

'Declaração
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
)

Parâmetros

Valor de retorno

Tipo: System.Boolean
Retifique se o arquivo foi recuperado do cache.

Segurança do .NET Framework

Consulte também

Referência

FileCacheService Classe

Namespace Microsoft.TeamFoundation.Server.Core