Condividi tramite


Metodo TeamFoundationFileService.UploadFile (TeamFoundationRequestContext, Stream, array<Byte , Int64, CompressionType, OwnerId, String, Int32)

Carica il file specificato all'archivio dei Blob

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Valore restituito

Tipo: System.Int32

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TeamFoundationFileService Classe

Overload UploadFile

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server