Freigeben über


TeamFoundationFileService.UploadFile-Methode (TeamFoundationRequestContext, Stream, array<Byte[], Int64, CompressionType, OwnerId, String, Int32)

Lädt die angegebene Datei dem Blob-Speicher hoch

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 Stream, _
    hashValue As Byte(), _
    uncompressedLength As Long, _
    compressionType As CompressionType, _
    ownerId As OwnerId, _
    fileName As String, _
    relatedFileId As Integer _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    byte[] hashValue,
    long uncompressedLength,
    CompressionType compressionType,
    OwnerId ownerId,
    string fileName,
    int relatedFileId
)

Parameter

Rückgabewert

Typ: System.Int32

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationFileService Klasse

UploadFile-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace