TeamFoundationStrongBoxService.UploadFile 方法 (TeamFoundationRequestContext, Guid, String, array<Byte[], Stream, Int64, Int64, Int64, CompressionType)
命名空间: Microsoft.TeamFoundation.Framework.Server.Alm
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Sub UploadFile ( _
requestContext As TeamFoundationRequestContext, _
drawerId As Guid, _
lookupKey As String, _
hash As Byte(), _
fileStream As Stream, _
fileLength As Long, _
compressedLength As Long, _
offsetFrom As Long, _
compressionType As CompressionType _
)
public void UploadFile(
TeamFoundationRequestContext requestContext,
Guid drawerId,
string lookupKey,
byte[] hash,
Stream fileStream,
long fileLength,
long compressedLength,
long offsetFrom,
CompressionType compressionType
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- drawerId
类型:System.Guid
- lookupKey
类型:System.String
- hash
类型:array<System.Byte[]
- fileStream
类型:System.IO.Stream
- fileLength
类型:System.Int64
- compressedLength
类型:System.Int64
- offsetFrom
类型:System.Int64
- compressionType
类型:Microsoft.TeamFoundation.Framework.Server.CompressionType
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。