Freigeben über


TeamFoundationFileContainerService.UploadFile-Methode

Lädt eine Datei hoch. bin

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 FileContainerItem, _
    fileStream As Stream, _
    offsetFrom As Long, _
    compressedLength As Long, _
    compressionType As CompressionType _
) As FileContainerItem
public FileContainerItem UploadFile(
    TeamFoundationRequestContext requestContext,
    long containerId,
    FileContainerItem item,
    Stream fileStream,
    long offsetFrom,
    long compressedLength,
    CompressionType compressionType
)

Parameter

  • offsetFrom
    Typ: System.Int64
    Anfangsposition des Blocks, der geladen wird.
  • compressedLength
    Typ: System.Int64
    Komprimierte Länge der Datei.

Rückgabewert

Typ: Microsoft.VisualStudio.Services.FileContainer.FileContainerItem

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileContainerService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace