TeamFoundationFileService.RetrieveNamedFile 方法
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Function RetrieveNamedFile ( _
requestContext As TeamFoundationRequestContext, _
ownerId As OwnerId, _
fileName As String, _
compressOutput As Boolean, _
<OutAttribute> ByRef hashValue As Byte(), _
<OutAttribute> ByRef contentLength As Long, _
<OutAttribute> ByRef compressionType As CompressionType _
) As Stream
public Stream RetrieveNamedFile(
TeamFoundationRequestContext requestContext,
OwnerId ownerId,
string fileName,
bool compressOutput,
out byte[] hashValue,
out long contentLength,
out CompressionType compressionType
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- fileName
类型:System.String
- compressOutput
类型:System.Boolean
- hashValue
类型:array<System.Byte[]%
- contentLength
类型:System.Int64%
- compressionType
类型:Microsoft.TeamFoundation.Framework.Server.CompressionType%
返回值
类型:System.IO.Stream
返回 Stream。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。