TeamFoundationFileService.RetrieveFile 方法 (TeamFoundationRequestContext, Int32, Boolean, array<Byte[]%, Int64%, CompressionType%)

从blob存储中检索文件

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Function RetrieveFile ( _
    requestContext As TeamFoundationRequestContext, _
    fileId As Integer, _
    compressOutput As Boolean, _
    <OutAttribute> ByRef hashValue As Byte(), _
    <OutAttribute> ByRef contentLength As Long, _
    <OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public Stream RetrieveFile(
    TeamFoundationRequestContext requestContext,
    int fileId,
    bool compressOutput,
    out byte[] hashValue,
    out long contentLength,
    out CompressionType compressionType
)

参数

返回值

类型:System.IO.Stream

.NET Framework 安全性

请参见

参考

TeamFoundationFileService 类

RetrieveFile 重载

Microsoft.TeamFoundation.Framework.Server 命名空间