Partager via


TeamFoundationFileService.UploadFile Method (TeamFoundationRequestContext, array<Byte[], array<Byte , Int64, CompressionType)

Uploads the given file to the Blob Store

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

Syntax

'Declaration
Public Function UploadFile ( _
    requestContext As TeamFoundationRequestContext, _
    content As Byte(), _
    hashValue As Byte(), _
    uncompressedLength As Long, _
    compressionType As CompressionType _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    byte[] content,
    byte[] hashValue,
    long uncompressedLength,
    CompressionType compressionType
)
public:
int UploadFile(
    TeamFoundationRequestContext^ requestContext, 
    array<unsigned char>^ content, 
    array<unsigned char>^ hashValue, 
    long long uncompressedLength, 
    CompressionType compressionType
)
member UploadFile : 
        requestContext:TeamFoundationRequestContext * 
        content:byte[] * 
        hashValue:byte[] * 
        uncompressedLength:int64 * 
        compressionType:CompressionType -> int
public function UploadFile(
    requestContext : TeamFoundationRequestContext, 
    content : byte[], 
    hashValue : byte[], 
    uncompressedLength : long, 
    compressionType : CompressionType
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

UploadFile Overload

Microsoft.TeamFoundation.Framework.Server Namespace