Delen via


TeamFoundationStrongBoxService.UploadFile Method (TeamFoundationRequestContext, Guid, String, array<Byte , Stream, Int64, Int64, Int64, CompressionType)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
)
public:
void UploadFile(
    TeamFoundationRequestContext^ requestContext, 
    Guid drawerId, 
    String^ lookupKey, 
    array<unsigned char>^ hash, 
    Stream^ fileStream, 
    long long fileLength, 
    long long compressedLength, 
    long long offsetFrom, 
    CompressionType compressionType
)
member UploadFile : 
        requestContext:TeamFoundationRequestContext * 
        drawerId:Guid * 
        lookupKey:string * 
        hash:byte[] * 
        fileStream:Stream * 
        fileLength:int64 * 
        compressedLength:int64 * 
        offsetFrom:int64 * 
        compressionType:CompressionType -> unit
public function UploadFile(
    requestContext : TeamFoundationRequestContext, 
    drawerId : Guid, 
    lookupKey : String, 
    hash : byte[], 
    fileStream : Stream, 
    fileLength : long, 
    compressedLength : long, 
    offsetFrom : long, 
    compressionType : CompressionType
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationStrongBoxService Class

UploadFile Overload

Microsoft.TeamFoundation.Framework.Server Namespace