Partager via


TeamFoundationFileService.UploadFile, méthode (TeamFoundationRequestContext, Stream, array<Byte[], Int64, CompressionType, OwnerId, String, Int32)

Télécharge le fichier donné au magasin de blob

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : System.Int32

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationFileService Classe

UploadFile, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms