Share via


TeamFoundationFileContainerService.UploadFile Method

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

Syntax

'Declaration
Public Function UploadFile ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    item As ContainerItem, _
    fileStream As Stream, _
    offsetFrom As Long, _
    compressedLength As Long, _
    compressionType As CompressionType _
) As ContainerItem
public ContainerItem UploadFile(
    TeamFoundationRequestContext requestContext,
    long containerId,
    ContainerItem item,
    Stream fileStream,
    long offsetFrom,
    long compressedLength,
    CompressionType compressionType
)
public:
ContainerItem^ UploadFile(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    ContainerItem^ item, 
    Stream^ fileStream, 
    long long offsetFrom, 
    long long compressedLength, 
    CompressionType compressionType
)
member UploadFile : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        item:ContainerItem * 
        fileStream:Stream * 
        offsetFrom:int64 * 
        compressedLength:int64 * 
        compressionType:CompressionType -> ContainerItem
public function UploadFile(
    requestContext : TeamFoundationRequestContext, 
    containerId : long, 
    item : ContainerItem, 
    fileStream : Stream, 
    offsetFrom : long, 
    compressedLength : long, 
    compressionType : CompressionType
) : ContainerItem

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ContainerItem

.NET Framework Security

See Also

Reference

TeamFoundationFileContainerService Class

Microsoft.TeamFoundation.Framework.Server Namespace