FileCacheService.RetrieveFileFromDatabase 方法
從資料庫擷取檔案,將它儲存在快取並將其傳送至用戶端。
命名空間: Microsoft.TeamFoundation.Server.Core
組件: Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)
語法
'宣告
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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- downloadState
類型:Microsoft.TeamFoundation.Server.Core.IDownloadState
- compressOutput
類型:System.Boolean
- databaseStream
類型:System.IO.Stream
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。